| 
| MBS extension: build variable don't include header files [message #201767] | Mon, 17 September 2007 12:00  |  | 
| Eclipse User  |  |  |  |  | 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 #202082 is a reply to message #201814] | Tue, 25 September 2007 04:15  |  | 
| Eclipse User  |  |  |  |  | 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
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04427 seconds