CMakeLists.txt 343 B

1234567891011
  1. # a simple C only test case
  2. project (conly C)
  3. set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
  4. add_library(testc1 STATIC libc1.c)
  5. add_library(testc2 SHARED libc2.c)
  6. add_executable (conly conly.c foo.c foo.h)
  7. target_link_libraries(conly testc1 testc2)
  8. string(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
  9. message(STATUS "String: ${ASCII_STRING}")