diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2020-08-25 23:34:19 +0200 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2020-09-14 12:26:07 +0200 |
commit | f0ac8495872ee078f18bd349e3db6883ed4106e2 (patch) | |
tree | 0f9b609aa80b924f6b391e1c4b687c0f73eaa7b9 /cmake-test | |
parent | 5ead6f2d2c515d3d85c31fffebea55168c1bc1b4 (diff) | |
download | dlfcn-win32-f0ac8495872ee078f18bd349e3db6883ed4106e2.tar.gz dlfcn-win32-f0ac8495872ee078f18bd349e3db6883ed4106e2.tar.bz2 dlfcn-win32-f0ac8495872ee078f18bd349e3db6883ed4106e2.zip |
Move cmake targets into sub directories
Diffstat (limited to 'cmake-test')
-rw-r--r-- | cmake-test/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake-test/CMakeLists.txt b/cmake-test/CMakeLists.txt index 659a79a..815d127 100644 --- a/cmake-test/CMakeLists.txt +++ b/cmake-test/CMakeLists.txt | |||
@@ -6,14 +6,14 @@ cmake_minimum_required(VERSION 3.0) | |||
6 | 6 | ||
7 | find_package(dlfcn-win32 REQUIRED) | 7 | find_package(dlfcn-win32 REQUIRED) |
8 | 8 | ||
9 | add_library(testdll SHARED ../testdll.c) | 9 | add_library(testdll SHARED ../tests/testdll.c) |
10 | set_target_properties(testdll PROPERTIES PREFIX "") | 10 | set_target_properties(testdll PROPERTIES PREFIX "") |
11 | add_library(testdll2 SHARED ../testdll2.c) | 11 | add_library(testdll2 SHARED ../tests/testdll2.c) |
12 | set_target_properties(testdll2 PROPERTIES PREFIX "") | 12 | set_target_properties(testdll2 PROPERTIES PREFIX "") |
13 | target_link_libraries(testdll2 dlfcn-win32::dl) | 13 | target_link_libraries(testdll2 dlfcn-win32::dl) |
14 | add_library(testdll3 SHARED ../testdll3.c) | 14 | add_library(testdll3 SHARED ../tests/testdll3.c) |
15 | set_target_properties(testdll3 PROPERTIES PREFIX "") | 15 | set_target_properties(testdll3 PROPERTIES PREFIX "") |
16 | add_executable(t_dlfcn ../test.c) | 16 | add_executable(t_dlfcn ../tests/test.c) |
17 | target_link_libraries(t_dlfcn dlfcn-win32::dl) | 17 | target_link_libraries(t_dlfcn dlfcn-win32::dl) |
18 | enable_testing() | 18 | enable_testing() |
19 | add_test(NAME t_dlfcn COMMAND t_dlfcn) | 19 | add_test(NAME t_dlfcn COMMAND t_dlfcn) |