summaryrefslogtreecommitdiff
path: root/app/mac/CMakeLists.txt
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-01-23 22:02:11 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-01-23 22:02:11 +0100
commitb1d1573702f21e3104606d6ade5f5d39ec86a33a (patch)
treed703be130a5d6f9ff2626313d3380ed34de44dd7 /app/mac/CMakeLists.txt
parent6512dd599d13035f6a90b2009344e02c488f5aae (diff)
restructure project
Diffstat (limited to 'app/mac/CMakeLists.txt')
-rw-r--r--app/mac/CMakeLists.txt20
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