From c8dd5f0375992654814451591e97c0bab937f1a9 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Mon, 26 Oct 2020 11:20:41 +0100 Subject: Remove static generation of LTP configuration header This patch removes the static generation of the LTP configuration header done by CMake. The static generation is replaced with a fixed header (no CMake template anymore) which includes the dynamic generated xloop version header to define version number macros for LTP. --- .../tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt') diff --git a/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt b/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt index 6f7c5bb..f503838 100644 --- a/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt +++ b/src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt @@ -4,42 +4,42 @@ project(xloop-kernel-test-ioctl_xloop) # test ioctl_xloop01 add_executable(ioctl_xloop01 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop01.c) -target_link_libraries(ioctl_xloop01 LINK_PUBLIC libltp) +target_link_libraries(ioctl_xloop01 libltp) install(TARGETS ioctl_xloop01 DESTINATION bin COMPONENT test) # test ioctl_xloop02 add_executable(ioctl_xloop02 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop02.c) -target_link_libraries(ioctl_xloop02 LINK_PUBLIC libltp) +target_link_libraries(ioctl_xloop02 libltp) install(TARGETS ioctl_xloop02 DESTINATION bin COMPONENT test) # test ioctl_xloop03 add_executable(ioctl_xloop03 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop03.c) -target_link_libraries(ioctl_xloop03 LINK_PUBLIC libltp) +target_link_libraries(ioctl_xloop03 libltp) install(TARGETS ioctl_xloop03 DESTINATION bin COMPONENT test) # test ioctl_xloop04 add_executable(ioctl_xloop04 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop04.c) -target_link_libraries(ioctl_xloop04 LINK_PUBLIC libltp) +target_link_libraries(ioctl_xloop04 libltp) install(TARGETS ioctl_xloop04 DESTINATION bin COMPONENT test) # test ioctl_xloop05 add_executable(ioctl_xloop05 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop05.c) -target_link_libraries(ioctl_xloop05 LINK_PUBLIC libltp) +target_link_libraries(ioctl_xloop05 libltp) install(TARGETS ioctl_xloop05 DESTINATION bin COMPONENT test) # test ioctl_xloop06 add_executable(ioctl_xloop06 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop06.c) -target_link_libraries(ioctl_xloop06 LINK_PUBLIC libltp) +target_link_libraries(ioctl_xloop06 libltp) install(TARGETS ioctl_xloop06 DESTINATION bin COMPONENT test) # test ioctl_xloop07 add_executable(ioctl_xloop07 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop07.c) -target_link_libraries(ioctl_xloop07 LINK_PUBLIC libltp) +target_link_libraries(ioctl_xloop07 libltp) install(TARGETS ioctl_xloop07 DESTINATION bin COMPONENT test) -- cgit v1.2.3-55-g7522