aboutsummaryrefslogtreecommitdiff
path: root/source/kernel/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2023-10-11 14:43:50 +0200
committerFelix Morgner <felix.morgner@ost.ch>2023-10-11 14:43:50 +0200
commit74eaee0fcc7390d4290b41a2a92ee34346e2f7c2 (patch)
tree3a38f8dbe0c6b757167bc264cb68e3da145bd069 /source/kernel/CMakeLists.txt
parentf47bee5f51a73593d3594940663f56f2427f480b (diff)
downloadteachos-74eaee0fcc7390d4290b41a2a92ee34346e2f7c2.tar.xz
teachos-74eaee0fcc7390d4290b41a2a92ee34346e2f7c2.zip
teachos: restructure file layout
Diffstat (limited to 'source/kernel/CMakeLists.txt')
-rw-r--r--source/kernel/CMakeLists.txt25
1 files changed, 0 insertions, 25 deletions
diff --git a/source/kernel/CMakeLists.txt b/source/kernel/CMakeLists.txt
deleted file mode 100644
index bc60f6c..0000000
--- a/source/kernel/CMakeLists.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-#[============================================================================[
-# Configure the generic settings for the kernel image.
-#
-# All the settings (e.g. include paths, linker flags, etc.) applied in this
-# directly, are expected to be platform independent.
-#]============================================================================]
-
-add_executable("kernel")
-
-target_compile_options("kernel" PRIVATE
- "$<$<CXX_COMPILER_ID:GNU>:-Wall>"
- "$<$<CXX_COMPILER_ID:GNU>:-Wextra>"
- "$<$<CXX_COMPILER_ID:GNU>:-Werror>"
- "$<$<CXX_COMPILER_ID:GNU>:-pedantic-errors>"
-)
-
-set_target_properties("kernel" PROPERTIES
- INTERPROCEDURAL_OPTIMIZATION YES
-)
-
-#[============================================================================[
-# Apply the platform dependent settings to the kernel image.
-#]============================================================================]
-
-add_subdirectory("arch/${CMAKE_SYSTEM_PROCESSOR}") \ No newline at end of file