CMake/Tests/COnly/CMakeLists.txt

10 lines
279 B
CMake
Raw Normal View History

# a simple C only test case
PROJECT (conly C)
2002-12-31 23:22:48 +03:00
ADD_LIBRARY(c1 STATIC libc1.c)
ADD_LIBRARY(c2 SHARED libc2.c)
ADD_EXECUTABLE (conly conly.c foo.c foo.h)
2002-12-31 23:22:48 +03:00
TARGET_LINK_LIBRARIES(conly c1 c2)
2003-01-02 01:35:42 +03:00
STRING(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
MESSAGE(STATUS "String: ${ASCII_STRING}")