blob: 81c02ca8479befaa0c5936b9bfd447290a7e6cbf (
plain)
1
2
3
4
5
6
7
8
9
|
# a simple C only test case
PROJECT (conly C)
ADD_LIBRARY(c1 STATIC libc1.c)
ADD_LIBRARY(c2 SHARED libc2.c)
ADD_EXECUTABLE (conly conly.c foo.c foo.h)
TARGET_LINK_LIBRARIES(conly c1 c2)
STRING(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
MESSAGE(STATUS "String: ${ASCII_STRING}")
|