summaryrefslogtreecommitdiff
path: root/Tests/GhsMultiDuplicateSourceFilenames/CMakeLists.txt
blob: 82a014bb7f4e1e62838e1be1a4713997ea37e32f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()