1 # a simple CXX only test case
2 cmake_minimum_required (VERSION 2.6)
3 project (NewlineArgs CXX)
5 add_definitions("-DTEST_FLAG_1
8 include_directories(" ${NewlineArgs_BINARY_DIR}
9 ${NewlineArgs_SOURCE_DIR} ")
11 configure_file("${NewlineArgs_SOURCE_DIR}/libcxx2.h.in"
12 "${NewlineArgs_BINARY_DIR}/libcxx2.h")
14 add_library(testcxx1 libcxx1.cxx)
15 add_executable (NewlineArgs cxxonly.cxx)
16 target_link_libraries(NewlineArgs testcxx1)