Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » MBS extension: build variable don't include header files
MBS extension: build variable don't include header files [message #201767] Mon, 17 September 2007 16:00 Go to next message
Gaetan Morice is currently offline Gaetan MoriceFriend
Messages: 7
Registered: July 2009
Junior Member
I use tools that generate source and header files. I want yo use the
extension capability of the MBS 4.0 to include these tools in my tool
chain. In order to manage dependency problems, I stored the generated
files in a build variable (buildVariable field of the Output Type).
However the header files are not included in the variables in the makefiles.
Is this a normal behavior of MBS?

best regards,

Gaetan MORICE
Re: MBS extension: build variable don't include header files [message #201814 is a reply to message #201767] Mon, 17 September 2007 21:48 Go to previous messageGo to next message
Chris Recoskie is currently offline Chris RecoskieFriend
Messages: 163
Registered: July 2009
Senior Member
gaetan wrote:
> I use tools that generate source and header files. I want yo use the
> extension capability of the MBS 4.0 to include these tools in my tool
> chain. In order to manage dependency problems, I stored the generated
> files in a build variable (buildVariable field of the Output Type).
> However the header files are not included in the variables in the
> makefiles.
> Is this a normal behavior of MBS?
>
> best regards,
>
> Gaetan MORICE

The headers are not built, so they are only used in dependency rules,
which you will find in the .d files.

===========================

Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
Re: MBS extension: build variable don't include header files [message #202082 is a reply to message #201814] Tue, 25 September 2007 08:15 Go to previous message
Gaetan Morice is currently offline Gaetan MoriceFriend
Messages: 7
Registered: July 2009
Junior Member
Chris Recoskie wrote :
> gaetan wrote:
>> I use tools that generate source and header files. I want yo use the
>> extension capability of the MBS 4.0 to include these tools in my tool
>> chain. In order to manage dependency problems, I stored the generated
>> files in a build variable (buildVariable field of the Output Type).
>> However the header files are not included in the variables in the
>> makefiles.
>> Is this a normal behavior of MBS?
>>
>> best regards,
>>
>> Gaetan MORICE
>
> The headers are not built, so they are only used in dependency rules,
> which you will find in the .d files.
>
> ===========================
>
> Chris Recoskie
> Team Lead, IBM CDT Team
> IBM Toronto
> http://www.eclipse.org/cdt

I agree, but in the project I am working on, the header files are
generated from other files. As a consequence the first time they don't
exists and the command to generate .d files fails. That's why I want to
use build variables and a special task defined with the prebuildStep
option of the Configuration in order to force the header files
generation before the build and enable .d files generation.

--
Gaétan MORICE
Solutions & Technologies
ANYWARE TECHNOLOGIES
www.anyware-tech.com
Previous Topic:Path and Symbols - References
Next Topic:modify menu labels...
Goto Forum:
  


Current Time: Thu Nov 07 05:55:44 GMT 2024

Powered by FUDForum. Page generated in 0.03266 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top