mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 11:43:56 +00:00
24 lines
395 B
CMake
24 lines
395 B
CMake
file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
|
|
*.cpp
|
|
*.hpp
|
|
*.rc
|
|
)
|
|
|
|
list(SORT SRC_FILES)
|
|
|
|
add_executable(emulator ${SRC_FILES})
|
|
|
|
momo_assign_source_group(${SRC_FILES})
|
|
|
|
target_precompile_headers(emulator PRIVATE std_include.hpp)
|
|
|
|
target_link_libraries(emulator PRIVATE
|
|
common
|
|
unicorn
|
|
phnt::phnt
|
|
)
|
|
|
|
set_property(GLOBAL PROPERTY VS_STARTUP_PROJECT emulator)
|
|
|
|
momo_strip_target(emulator)
|