aboutsummaryrefslogtreecommitdiff
path: root/kernel/CMakeLists.txt
diff options
context:
space:
mode:
authormanuel <manuel.bott@eps.ch>2026-11-12 07:27:58 +0000
committermanuel <manuel.bott@eps.ch>2026-11-12 07:27:58 +0000
commit1415e1e7e0011b0c9f42978f013a5d79007bf255 (patch)
tree5bd34fc0f25a153ee655f7daae3514004709261d /kernel/CMakeLists.txt
parentcb05568db24efc9fd0b33e9d0094256e1b678e69 (diff)
downloadkernel-1415e1e7e0011b0c9f42978f013a5d79007bf255.tar.xz
kernel-1415e1e7e0011b0c9f42978f013a5d79007bf255.zip
test: apply review feedback for Catch2 string makers
- restrict the -include force-include flag to GCC and Clang - drop the redundant explicit include in the kernel string maker tests - apply clang-format Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'kernel/CMakeLists.txt')
-rw-r--r--kernel/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/CMakeLists.txt b/kernel/CMakeLists.txt
index eb14f619..2ed3ac62 100644
--- a/kernel/CMakeLists.txt
+++ b/kernel/CMakeLists.txt
@@ -185,7 +185,7 @@ if(BUILD_TESTING)
)
target_compile_options("${TEST_TARGET}" PRIVATE
- "SHELL:-include ${CMAKE_CURRENT_SOURCE_DIR}/kernel/test_support/string_makers.hpp"
+ "$<$<CXX_COMPILER_ID:Clang,GNU>:SHELL:-include ${CMAKE_CURRENT_SOURCE_DIR}/kernel/test_support/string_makers.hpp>"
)
target_compile_definitions("${TEST_TARGET}" PRIVATE