Added physical memory manager.
[planlOS.git] / system / bootstrap / CMakeLists.txt
bloba030a85af6d576e44a44ae830e3ca196e24810a8
2 set(SRC
3 start.asm
4 start.c
7 set(CMAKE_C_FLAGS "-fstrength-reduce -fno-builtin -m32 -Wall -Wextra -Werror -Wno-unused-parameter -nostdlib -nostdinc -Wno-long-long")
8 set(CMAKE_ASM-INTEL_FLAGS "-f elf")
9 set(CMAKE_ASM-ATT_FLAGS "--32")
10 include_directories(../include ../../shared/include)
11 add_definitions(-DARCH_X86=1)
12 set(EXECUTABLE_OUTPUT_PATH ../../build/boot)
13 add_executable(bootstrap ${SRC})
14 set_target_properties(bootstrap PROPERTIES LINK_FLAGS "-T bootstrap.ld")
16 add_object(bootstrap)