Re: [CMake] howto not remove an output in make clean

2009-05-14 Thread felix schwitzer
> Is there a way to tell "make clean" to *not* remove the output from > the custom command "foo.cpp" ? for this I use the directory-property CLEAN_NO_CUSTOM from the docu: If this is true then the outputs of custom commands for this directory will not be removed during the "make clean" stage.

Re: [CMake] howto not remove an output in make clean

2009-05-11 Thread Denis Scherbakov
> Is there a way to tell "make clean" to *not* > remove the output from > the custom command "foo.cpp" ? You could try INSTALL to place a copy of this file, where you want. Denis ___ Powered by www.kitware.com Visit other Kitware open-source

[CMake] howto not remove an output in make clean

2009-05-11 Thread Gaspard Bucher
Hi list ! I have a command that generates a "foo.cpp" file from a ragel parser definition "foo.rl". I am doing an out-of-source build but I would like to keep the generated file in the source so that it is committed and end users do not need to install ragel because "foo.cpp" is newer then "foo.rl