diff options
Diffstat (limited to 'Tests/GhsMulti/GhsMultiDuplicateSourceFilenames/CMakeLists.txt')
-rw-r--r-- | Tests/GhsMulti/GhsMultiDuplicateSourceFilenames/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/GhsMulti/GhsMultiDuplicateSourceFilenames/CMakeLists.txt b/Tests/GhsMulti/GhsMultiDuplicateSourceFilenames/CMakeLists.txt new file mode 100644 index 0000000..520e65f --- /dev/null +++ b/Tests/GhsMulti/GhsMultiDuplicateSourceFilenames/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 3.5) +project(test C) + +add_library(libdemo + test.c + testCase.c + subfolder_test.c + subfolder_test_0.c + "subfolder/test.c" + subfolder/testcase.c +) + +add_executable(demo main.c) +target_link_libraries(demo libdemo) +if(GHSMULTI) + target_compile_options(demo PUBLIC "-non_shared") +endif() |