summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSystem/CMakeLists.txt
blob: a8932887751de53d4728959b1e4938f098d367bb (plain)
1
2
3
4
5
6
7
8
9
10
11
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})
target_link_libraries(LibSystemStatic PRIVATE NoCoverage)