blob: 8258eb427f72c4657d09d5f7a5827df0ab0198c5 (
plain)
1
2
3
4
5
6
7
8
|
# a simple CXX only test case
project (CxxOnly CXX)
set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
add_library(testcxx1 STATIC libcxx1.cxx test.CPP)
add_library(testcxx2 SHARED libcxx2.cxx)
add_executable (CxxOnly cxxonly.cxx)
target_link_libraries(CxxOnly testcxx1 testcxx2)
|