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/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/CMakeLists.txt')
-rw-r--r-- | src/kernel/tests/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kernel/tests/CMakeLists.txt b/src/kernel/tests/CMakeLists.txt index e93ff9d..201abcb 100644 --- a/src/kernel/tests/CMakeLists.txt +++ b/src/kernel/tests/CMakeLists.txt @@ -4,11 +4,9 @@ project(xloop-kernel-test) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/old) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) -# configure configuration config.h and add it to the include directories -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) -include_directories(${CMAKE_CURRENT_BINARY_DIR}) +# include parent directory for the xloop's uapi +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) add_subdirectory(lib) add_subdirectory(testcases/kernel/syscalls/ioctl) |