Updated formatting of documentation plus a little reorganization.
[cmake.git] / Tests / NewlineArgs / CMakeLists.txt
bloba182304883a308a1935df29791f75abb212021d5
1 # a simple CXX only test case
2 cmake_minimum_required (VERSION 2.6)
3 project (NewlineArgs CXX)
5 add_definitions("-DTEST_FLAG_1
6 -DTEST_FLAG_2")
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)