|
@@ -1,11 +1,11 @@
|
|
|
# a simple C only test case
|
|
# a simple C only test case
|
|
|
-PROJECT (conly C)
|
|
|
|
|
|
|
+project (conly C)
|
|
|
|
|
|
|
|
-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)
|
|
|
|
|
|
|
+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)
|
|
|
|
|
|
|
|
-STRING(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
|
|
|
|
|
-MESSAGE(STATUS "String: ${ASCII_STRING}")
|
|
|
|
|
|
|
+string(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
|
|
|
|
|
+message(STATUS "String: ${ASCII_STRING}")
|