psOff_public/modules/libkernel/CMakeLists.txt
2024-04-14 15:20:25 +02:00

30 lines
487 B
CMake

cmake_minimum_required(VERSION 3.24)
include(../setupModule.cmake)
set(libName libkernel)
project(${libName})
add_library(${libName} SHARED
entry.cpp
equeue.cpp
eventflag.cpp
semaphore.cpp
dmem.cpp
aio.cpp
fs.cpp
pthread.cpp
)
add_dependencies(${libName} core third_party)
target_link_libraries(${libName} PRIVATE
core.lib
libboost_thread
libboost_chrono
bcrypt.lib
)
target_compile_definitions(${libName} PRIVATE
BOOST_ALL_NO_LIB
)
setupModule(${libName})