Actually i don't have the sources of the generator, it's another library wich is doing that, so i can't make a new target. SO i did an EXEC_PROGRAM to generate it before scanning files, but i don't know how to generate it after a make clean wich have to erase it.
Any idea ?

Filipe Sousa a écrit :
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


------------------------------------------------------------------------

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

begin:vcard
fn;quoted-printable:Xavier Larrod=C3=A9
n;quoted-printable:Larrod=C3=A9;Xavier
org:IRISA ;E119 Orange
title:Projet GVT
tel;work:73 28
version:2.1
end:vcard

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to