6 lines
255 B
CMake
6 lines
255 B
CMake
file(GLOB sources *.c *.h include/magenta/debug/*.h)
|
|
|
|
add_library(magenta_debug STATIC ${sources})
|
|
target_include_directories(magenta_debug PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
target_compile_options(magenta_debug PRIVATE -ffreestanding -nostdlib)
|