cmake/Tests/Properties/SubDir2/CMakeLists.txt
2015-04-27 22:25:09 +02:00

6 lines
199 B
CMake

set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/../subdirtest.cxx"
PROPERTIES COMPILE_DEFINITIONS SUBDIR_TEST)
add_executable(subdirtest "${CMAKE_CURRENT_SOURCE_DIR}/../subdirtest.cxx")