writes:
> Our idea was to use add_subdirectory but modules will try to search
LIBRARY and they will not find the
> library because it's not still compiled... So, how to "emulate"
> find_package result for LIBRARY ? Bad idea (I think), is to set
LIBRARY-FOUND to true, manually include
> dirs (a
> 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.