Implement some syscalls

This commit is contained in:
momo5502
2024-08-18 18:50:38 +02:00
parent 6a2b423e5b
commit f2e29dc665
10 changed files with 830 additions and 50 deletions

16
src/common/CMakeLists.txt Normal file
View File

@@ -0,0 +1,16 @@
file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
*.cpp
*.hpp
)
add_library(common ${SRC_FILES})
momo_assign_source_group(${SRC_FILES})
target_include_directories(common INTERFACE "${CMAKE_CURRENT_LIST_DIR}")
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
target_link_libraries(common PUBLIC
Threads::Threads
)