> 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.
> 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
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