[CMake] install targets

Rolf Eike Beer eike at sf-mail.de
Tue Oct 25 04:52:11 EDT 2011


> I have split my code up into two dirs, "source" and "tests".  The
> CMakeLists.txt in the source dir does a SUBDIRS to
> ${PROJECT_SOURCE_DIR}/../tests to get tests.

Reading the documentation may help:

subdirs
 Deprecated. Use the add_subdirectory() command instead.

HTH,

Eike


More information about the CMake mailing list