From 53b1d71abe1c9d7c43eb68b91a0e94a27b948cdf Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 3 Nov 2020 10:45:36 +0100 Subject: cmake: separate targets in tests subdir for reasier reading --- tests/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index be1c359..35b6931 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,11 +1,15 @@ include_directories(../src) + add_library(testdll SHARED testdll.c) set_target_properties(testdll PROPERTIES PREFIX "") + add_library(testdll2 SHARED testdll2.c) set_target_properties(testdll2 PROPERTIES PREFIX "") target_link_libraries(testdll2 dl) + add_library(testdll3 SHARED testdll3.c) set_target_properties(testdll3 PROPERTIES PREFIX "") + add_executable(t_dlfcn test.c) target_link_libraries(t_dlfcn dl) add_test(NAME t_dlfcn COMMAND $ WORKING_DIRECTORY $) -- cgit v1.2.3-55-g6feb