You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
285 B

cmake_minimum_required(VERSION 3.5)
project(demo C)
add_library(libdemo
test.c
subfolder_test.c
subfolder_test_0.c
"subfolder/test.c"
)
add_executable(demo main.c)
target_link_libraries(demo libdemo)
if(GHSMULTI)
target_compile_options(demo PUBLIC "-non_shared")
endif()