Re: [CMake] "Emulate" a package result (find_package)

2015-03-30 Thread felix schwitzer
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

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.