cmake/Tests/OutOfSource/SubDir/CMakeLists.txt

11 lines
341 B
CMake
Raw Normal View History

2013-03-16 19:13:01 +02:00
project(ANOTHER_PROJ)
# subdir to an out of source and out of binary directory
2013-03-16 19:13:01 +02:00
add_subdirectory(${OutOfSource_SOURCE_DIR}/../OutOfBinary
${OutOfSource_BINARY_DIR}/../OutOfBinary)
# subdir to a sibling dir
2013-03-16 19:13:01 +02:00
add_subdirectory(${OutOfSource_SOURCE_DIR}/${KEN}OutOfSourceSubdir OutOfSourceSubdir )
2015-11-17 17:22:37 +01:00
add_library(subdir subdir.c)