mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 14:35:07 +00:00

With this change, System::foo() becomes Core::System::foo(). Since LibCore builds on other systems than SerenityOS, we now have to make sure that wrappers work with just a standard C library underneath.
10 lines
315 B
CMake
10 lines
315 B
CMake
set(SOURCES
|
|
syscall.cpp
|
|
)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib")
|
|
serenity_libc(LibSystem system)
|
|
target_include_directories(LibSystem PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
add_library(LibSystemStatic STATIC ${SOURCES})
|
|
target_include_directories(LibSystemStatic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|