CMake/Tests/CxxOnly/CMakeLists.txt

9 lines
268 B
CMake
Raw Normal View History

2006-07-21 19:43:26 +04:00
# a simple CXX only test case
2007-05-11 18:22:20 +04:00
project (CxxOnly CXX)
2006-07-21 19:43:26 +04:00
set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
add_library(testcxx1 STATIC libcxx1.cxx)
add_library(testcxx2 SHARED libcxx2.cxx)
2007-05-11 18:22:20 +04:00
add_executable (CxxOnly cxxonly.cxx)
target_link_libraries(CxxOnly testcxx1 testcxx2)