cmake/Tests/COnly/CMakeLists.txt

12 lines
333 B
CMake
Raw Normal View History

# a simple C only test case
2023-07-02 19:51:09 +02:00
cmake_minimum_required(VERSION 3.5)
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)
2012-04-19 19:04:21 +03:00
add_library(testCModule MODULE testCModule.c)