CMake/Tests/COnly/CMakeLists.txt

12 lines
343 B
CMake
Raw Normal View History

# a simple C only test case
2005-06-20 19:49:29 +04:00
project (conly C)
2005-06-20 19:49:29 +04:00
set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
add_library(testc1 STATIC libc1.c)
add_library(testc2 SHARED libc2.c)
add_executable (conly conly.c foo.c foo.h)
target_link_libraries(conly testc1 testc2)
2003-01-02 01:35:42 +03:00
2005-06-20 19:49:29 +04:00
string(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
message(STATUS "String: ${ASCII_STRING}")