Refactor compile flags
This commit is contained in:
parent
010e261dc7
commit
6f81520918
5 changed files with 21 additions and 24 deletions
|
|
@ -9,6 +9,9 @@ set(CMAKE_CXX_STANDARD 20)
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS True)
|
||||
|
||||
set(BASE_COMPILE_FLAGS "-ffreestanding -fno-exceptions -mgeneral-regs-only")
|
||||
set(BASE_LINK_FLAGS "-nostdlib")
|
||||
|
||||
add_subdirectory(zion)
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(sys)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue