Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Tests/COnly/CMakeLists.txt
3148 views
1
# a simple C only test case
2
cmake_minimum_required(VERSION 3.10)
3
project (COnly C)
4
5
set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
6
add_library(testc1 STATIC libc1.c)
7
add_library(testc2 SHARED libc2.c)
8
add_executable (COnly conly.c foo.c foo.h)
9
target_link_libraries(COnly testc1 testc2)
10
11
add_library(testCModule MODULE testCModule.c)
12
13