mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-20 04:03:57 +00:00
18 lines
377 B
CMake
18 lines
377 B
CMake
file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
|
|
*.cpp
|
|
*.hpp
|
|
)
|
|
|
|
add_library(emulator-common ${SRC_FILES})
|
|
|
|
momo_assign_source_group(${SRC_FILES})
|
|
|
|
target_include_directories(emulator-common INTERFACE "${CMAKE_CURRENT_LIST_DIR}")
|
|
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
find_package(Threads REQUIRED)
|
|
target_link_libraries(emulator-common PUBLIC
|
|
Threads::Threads
|
|
zlibstatic
|
|
)
|