<P><BR>Hi,</P>
<P>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....</P>
<P>Sebastien<BR><BR><BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #ff0000 2px solid">&gt; Message du 17/10/08 à 19h04<BR>&gt; De : "Alexander Neundorf" <A.NEUNDORF-WORK@GMX.NET><BR>&gt; A : s.bedouet@voila.fr<BR>&gt; Copie à : cmake@cmake.org<BR>&gt; Objet : Re: [CMake] Problem with ADD_CUSTOM_COMMAND and compiler<BR>&gt; <BR>&gt; <BR>&gt; On Friday 17 October 2008, s.bedouet@voila.fr wrote:<BR>&gt; &gt; Hi,<BR>&gt; &gt; I try to generate preprocessed files with gcc (gcc -E) and<BR>&gt; &gt; ADD_CUSTOM_COMMAND. I use INCLUDE_DIRECTORIES in order to specify where the<BR>&gt; &gt; include files are but this has not effect and so gcc generates an error :<BR>&gt; <BR>&gt; CMake generates rules to create the preprocessed files, enter "make help" and <BR>&gt; there should be rules for <FILE>.i <BR>&gt; You can then call these manually.<BR>&gt; Or do you actually need these files in your build ?<BR>&gt; <BR>&gt; Alex<BR>&gt; <BR>&gt; </BLOCKQUOTE><br>

<br><hr><A href="http://r.voila.fr/r?ref=signature_mail_voila_macle_5&url=http://www.voila.fr/Macle/">Voila vous offre 1 Go d’espace pour stocker et partager photos, vidéos, mp3 et autres documents ! </A></DIV>