CMake/Tests/NewlineArgs/CMakeLists.txt

16 lines
403 B
CMake
Raw Normal View History

# a simple CXX only test case
2007-05-11 18:22:20 +04:00
project (NewlineArgs CXX)
add_definitions("-DTEST_FLAG_1
-DTEST_FLAG_2")
2007-05-11 18:22:20 +04:00
include_directories(" ${NewlineArgs_BINARY_DIR}
${NewlineArgs_SOURCE_DIR} ")
2007-05-11 18:22:20 +04:00
configure_file("${NewlineArgs_SOURCE_DIR}/libcxx2.h.in"
"${NewlineArgs_BINARY_DIR}/libcxx2.h")
add_library(testcxx1 libcxx1.cxx)
2007-05-11 18:22:20 +04:00
add_executable (NewlineArgs cxxonly.cxx)
target_link_libraries(NewlineArgs testcxx1)