mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
20 lines
381 B
CMake
20 lines
381 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 unicorn phnt::phnt)
|
|
|
|
set_property(GLOBAL PROPERTY VS_STARTUP_PROJECT emulator)
|
|
|
|
momo_strip_target(emulator)
|