blob: 66f1d651ac37da5c96b7a334cfc4c53e8caa566a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#[============================================================================[
# 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")
target_include_directories("_boot" PUBLIC
"include"
)
#[============================================================================[
# Apply the platform dependent settings to the bootstrapping library.
#]============================================================================]
add_subdirectory("arch/${CMAKE_SYSTEM_PROCESSOR}")
|