Files
CMake/Tests/NewlineArgs/CMakeLists.txt
T
Rolf Eike Beer f6b4db365a Tests: bump cmake_minimum_required version to 2.8.12
This needlessly produces warnings during the test runs that no-one
sees but that are distracting when actually inspecting the logs.
2021-04-05 09:53:07 -04:00

17 lines
441 B
CMake

# a simple CXX only test case
cmake_minimum_required (VERSION 2.8.12)
project (NewlineArgs CXX)
add_definitions("-DTEST_FLAG_1
-DTEST_FLAG_2")
include_directories(" ${NewlineArgs_BINARY_DIR}
${NewlineArgs_SOURCE_DIR} ")
configure_file("${NewlineArgs_SOURCE_DIR}/libcxx2.h.in"
"${NewlineArgs_BINARY_DIR}/libcxx2.h")
add_library(testcxx1 libcxx1.cxx)
add_executable (NewlineArgs cxxonly.cxx)
target_link_libraries(NewlineArgs testcxx1)