mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-24 22:21:03 +00:00
31 lines
538 B
CMake
31 lines
538 B
CMake
file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
|
|
*.cpp
|
|
*.hpp
|
|
*.rc
|
|
)
|
|
|
|
list(SORT SRC_FILES)
|
|
|
|
add_library(windows-emulator ${SRC_FILES})
|
|
|
|
momo_assign_source_group(${SRC_FILES})
|
|
|
|
target_precompile_headers(windows-emulator PRIVATE std_include.hpp)
|
|
|
|
target_link_libraries(windows-emulator PRIVATE
|
|
common
|
|
unicorn-emulator
|
|
mini-gdbstub
|
|
)
|
|
|
|
target_link_libraries(windows-emulator PUBLIC
|
|
emulator
|
|
phnt::phnt
|
|
)
|
|
|
|
target_include_directories(windows-emulator INTERFACE
|
|
"${CMAKE_CURRENT_LIST_DIR}"
|
|
)
|
|
|
|
momo_strip_target(windows-emulator)
|