[CMake] Custom command : generate a cxx file wich need to be compile after

Filipe Sousa filipe at ipb.pt
Tue Aug 29 09:52:30 EDT 2006


Xavier Larrode wrote:
> Hi all,
> i have a custom_command wich is generating a cxxfile, and i need after 
> to compile it with all files of my project.
> But actually, the configuration step (ie cmake .) is telling me that the 
> file is not existing, wish is true as my command is making it in PRE-BUILD.
> 
> And i want that any make clean , delete it.
> 
> Any idea how i can do that ??

http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_generate_a_source_file_during_the_build.3F


-- 
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20060829/13f11b0a/signature-0001.pgp


More information about the CMake mailing list