aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/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 /libs/kstd/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 'libs/kstd/CMakeLists.txt')
-rw-r--r--libs/kstd/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
index d7af1952..c6e02223 100644
--- a/libs/kstd/CMakeLists.txt
+++ b/libs/kstd/CMakeLists.txt
@@ -84,7 +84,7 @@ if(BUILD_TESTING)
teachos_add_tests("kstd")
target_compile_options("kstd_tests" PRIVATE
- "SHELL:-include ${CMAKE_CURRENT_SOURCE_DIR}/kstd/test_support/string_makers.hpp"
+ "$<$<CXX_COMPILER_ID:Clang,GNU>:SHELL:-include ${CMAKE_CURRENT_SOURCE_DIR}/kstd/test_support/string_makers.hpp>"
)
if(COMMAND "enable_coverage" AND KSTD_ENABLE_TEST_COVERAGE)