aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarcel Braun <marcel.braun@ost.ch>2026-04-02 08:48:00 +0200
committerMarcel Braun <marcel.braun@ost.ch>2026-04-02 08:48:00 +0200
commit0c01a95325b26151ff3c9a70142f5dc83ff7d53f (patch)
tree9bf034f544ae773b653554a54edfce232f835754 /CMakeLists.txt
parent022d3e872de9c5a6a52c67f74af13706552330c0 (diff)
parent3eb680cf5bcef626505cac82820996d8db4170d7 (diff)
downloadteachos-0c01a95325b26151ff3c9a70142f5dc83ff7d53f.tar.xz
teachos-0c01a95325b26151ff3c9a70142f5dc83ff7d53f.zip
Merge branch 'fmorgner/develop-SA-FS26/kernel-bht' into 'develop-BA-FS26'
Add experimental support for kernel tests See merge request teachos/kernel!20
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt21
1 files changed, 13 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6cc8a2f..002ab0c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,15 +89,10 @@ if(Doxygen_FOUND AND TEACHOS_GENERATE_DOCS)
endif()
#[============================================================================[
-# Global Targets
+# Build Host Testing
#]============================================================================]
-if(CMAKE_CROSSCOMPILING)
- add_subdirectory("arch/${CMAKE_SYSTEM_PROCESSOR}")
- add_subdirectory("kernel")
- add_subdirectory("kapi")
- add_subdirectory("libs")
-else()
+if(NOT CMAKE_CROSSCOMPILING)
include("EnableCoverage")
enable_testing()
@@ -110,6 +105,16 @@ else()
CXX_CLANG_TIDY ""
)
endif()
+endif()
- add_subdirectory("libs")
+#[============================================================================[
+# Global Targets
+#]============================================================================]
+
+if(CMAKE_CROSSCOMPILING)
+ add_subdirectory("arch/${CMAKE_SYSTEM_PROCESSOR}")
endif()
+
+add_subdirectory("kapi")
+add_subdirectory("kernel")
+add_subdirectory("libs")