diff options
author | Manuel Bentele | 2020-10-26 11:20:41 +0100 |
---|---|---|
committer | Manuel Bentele | 2020-10-26 11:20:41 +0100 |
commit | c8dd5f0375992654814451591e97c0bab937f1a9 (patch) | |
tree | 1537f15de8e12fda482d49be2e78fedfbd3f9696 /src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt | |
parent | Add automatic generation of version and build type headers for compilation (diff) | |
download | xloop-c8dd5f0375992654814451591e97c0bab937f1a9.tar.gz xloop-c8dd5f0375992654814451591e97c0bab937f1a9.tar.xz xloop-c8dd5f0375992654814451591e97c0bab937f1a9.zip |
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.
Diffstat (limited to 'src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt')
-rw-r--r-- | src/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
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) |