2007-03-06 22:52:39 +03:00
|
|
|
# a simple CXX only test case
|
2007-05-11 18:22:20 +04:00
|
|
|
project (NewlineArgs CXX)
|
2007-03-06 22:52:39 +03:00
|
|
|
|
|
|
|
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-03-06 22:52:39 +03:00
|
|
|
|
2007-05-11 18:22:20 +04:00
|
|
|
configure_file("${NewlineArgs_SOURCE_DIR}/libcxx2.h.in"
|
|
|
|
"${NewlineArgs_BINARY_DIR}/libcxx2.h")
|
2007-03-06 22:52:39 +03:00
|
|
|
|
|
|
|
add_library(testcxx1 libcxx1.cxx)
|
2007-05-11 18:22:20 +04:00
|
|
|
add_executable (NewlineArgs cxxonly.cxx)
|
|
|
|
target_link_libraries(NewlineArgs testcxx1)
|