https://github.com/Kitware/CMake
Raw File
Tip revision: 8883613cc022d0ae2c96d84adf79dd82b74df658 authored by Bill Hoffman on 31 July 2006, 15:00:31 UTC
ENH: move release branch
Tip revision: 8883613
CMakeLists.txt
# a simple CXX only test case
project (cxxonly CXX)

set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
add_library(testcxx1 STATIC libcxx1.cxx)
add_library(testcxx2 SHARED libcxx2.cxx)
add_executable (cxxonly cxxonly.cxx)
target_link_libraries(cxxonly testcxx1 testcxx2)
back to top