[CMake] Problem with ADD_CUSTOM_COMMAND and compiler

s.bedouet at voila.fr s.bedouet at voila.fr
Thu Oct 23 09:53:37 EDT 2008


Hi,
These files are needed for the build. The only way I found is to put include path in a variable and then used it in add_custom_command....
Sebastien




> Message du 17/10/08 à 19h04
> De : "Alexander Neundorf" 
> A : s.bedouet at voila.fr
> Copie à : cmake at cmake.org
> Objet : Re: [CMake] Problem with ADD_CUSTOM_COMMAND and compiler
> 
> 
> On Friday 17 October 2008, s.bedouet at voila.fr wrote:
> > Hi,
> > I try to generate preprocessed files with gcc (gcc -E) and
> > ADD_CUSTOM_COMMAND. I use INCLUDE_DIRECTORIES in order to specify where the
> > include files are but this has not effect and so gcc generates an error :
> 
> CMake generates rules to create the preprocessed files, enter "make help" and 
> there should be rules for .i 
> You can then call these manually.
> Or do you actually need these files in your build ?
> 
> Alex
> 
> 

____________________________________________________

Voila vous offre 1 Go d’espace pour stocker et partager photos, vidéos, mp3 et autres documents ! http://www.voila.fr/Macle/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081023/574fe5ca/attachment.htm>


More information about the CMake mailing list