aboutsummaryrefslogtreecommitdiff
path: root/cmake-test
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2020-08-25 23:34:19 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2020-09-14 12:26:07 +0200
commitf0ac8495872ee078f18bd349e3db6883ed4106e2 (patch)
tree0f9b609aa80b924f6b391e1c4b687c0f73eaa7b9 /cmake-test
parent5ead6f2d2c515d3d85c31fffebea55168c1bc1b4 (diff)
downloaddlfcn-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.txt8
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
7find_package(dlfcn-win32 REQUIRED) 7find_package(dlfcn-win32 REQUIRED)
8 8
9add_library(testdll SHARED ../testdll.c) 9add_library(testdll SHARED ../tests/testdll.c)
10set_target_properties(testdll PROPERTIES PREFIX "") 10set_target_properties(testdll PROPERTIES PREFIX "")
11add_library(testdll2 SHARED ../testdll2.c) 11add_library(testdll2 SHARED ../tests/testdll2.c)
12set_target_properties(testdll2 PROPERTIES PREFIX "") 12set_target_properties(testdll2 PROPERTIES PREFIX "")
13target_link_libraries(testdll2 dlfcn-win32::dl) 13target_link_libraries(testdll2 dlfcn-win32::dl)
14add_library(testdll3 SHARED ../testdll3.c) 14add_library(testdll3 SHARED ../tests/testdll3.c)
15set_target_properties(testdll3 PROPERTIES PREFIX "") 15set_target_properties(testdll3 PROPERTIES PREFIX "")
16add_executable(t_dlfcn ../test.c) 16add_executable(t_dlfcn ../tests/test.c)
17target_link_libraries(t_dlfcn dlfcn-win32::dl) 17target_link_libraries(t_dlfcn dlfcn-win32::dl)
18enable_testing() 18enable_testing()
19add_test(NAME t_dlfcn COMMAND t_dlfcn) 19add_test(NAME t_dlfcn COMMAND t_dlfcn)