2002-04-03 00:43:23 +04:00
|
|
|
# a simple C only test case
|
|
|
|
PROJECT (conly C)
|
2003-11-01 00:55:49 +03:00
|
|
|
|
|
|
|
SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
|
2003-01-02 17:06:24 +03:00
|
|
|
ADD_LIBRARY(testc1 STATIC libc1.c)
|
|
|
|
ADD_LIBRARY(testc2 SHARED libc2.c)
|
2004-02-29 23:13:32 +03:00
|
|
|
ADD_EXECUTABLE (conly conly.c foo.c foo.h)
|
2003-01-02 17:06:24 +03:00
|
|
|
TARGET_LINK_LIBRARIES(conly testc1 testc2)
|
2003-01-02 01:35:42 +03:00
|
|
|
|
|
|
|
STRING(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
|
|
|
|
MESSAGE(STATUS "String: ${ASCII_STRING}")
|