From 0942321b4f09db58927dcd56940785567e19db92 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 7 Oct 2023 11:31:42 +0200 Subject: build: perform cleaner split for platform settings --- source/boot/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 source/boot/CMakeLists.txt (limited to 'source/boot/CMakeLists.txt') diff --git a/source/boot/CMakeLists.txt b/source/boot/CMakeLists.txt new file mode 100644 index 0000000..5591d70 --- /dev/null +++ b/source/boot/CMakeLists.txt @@ -0,0 +1,15 @@ +#[============================================================================[ +# Configure the generic settings for the bootstrapping library. +# +# All the settings (e.g. include paths, linker flags, etc.) applied in this +# directly, are expected to be platform independent. +#]============================================================================] + +add_library("_boot" STATIC) +add_library("teachos::boot" ALIAS "_boot") + +#[============================================================================[ +# Apply the platform dependent settings to the bootstrapping library. +#]============================================================================] + +add_subdirectory("arch/${CMAKE_SYSTEM_PROCESSOR}") \ No newline at end of file -- cgit v1.2.3