[CMake] howto not remove an output in make clean

felix schwitzer felixschwitzer at yahoo.de
Thu May 14 12:34:53 EDT 2009


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

see also the docu to
   set_property

Felix



		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


More information about the CMake mailing list