diff options
Diffstat (limited to 'app/mac/CMakeLists.txt')
| -rw-r--r-- | app/mac/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/mac/CMakeLists.txt b/app/mac/CMakeLists.txt new file mode 100644 index 0000000..a4f25c9 --- /dev/null +++ b/app/mac/CMakeLists.txt @@ -0,0 +1,20 @@ +add_executable(nes_mac) + +find_library(FRAMEWORK_COCOA Cocoa REQUIRED) +find_library(FRAMEWORK_SPRITEKIT SpriteKit REQUIRED) + +target_include_directories(nes_mac PRIVATE .) +target_link_libraries( + nes_mac + PRIVATE + nes::options + nes::nes + ${FRAMEWORK_COCOA} + ${FRAMEWORK_SPRITEKIT}) + +target_sources( + nes_mac + PRIVATE + main.mm + scene.hh + scene.mm)
\ No newline at end of file |
