summaryrefslogtreecommitdiffstats
path: root/cmake/platform/darwin_embedded
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platform/darwin_embedded')
-rw-r--r--cmake/platform/darwin_embedded/defines.txt1
-rw-r--r--cmake/platform/darwin_embedded/ios.cmake3
-rw-r--r--cmake/platform/darwin_embedded/tvos.cmake3
3 files changed, 7 insertions, 0 deletions
diff --git a/cmake/platform/darwin_embedded/defines.txt b/cmake/platform/darwin_embedded/defines.txt
new file mode 100644
index 0000000..603d749
--- /dev/null
+++ b/cmake/platform/darwin_embedded/defines.txt
@@ -0,0 +1 @@
-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_EMBEDDED
diff --git a/cmake/platform/darwin_embedded/ios.cmake b/cmake/platform/darwin_embedded/ios.cmake
new file mode 100644
index 0000000..4c377b7
--- /dev/null
+++ b/cmake/platform/darwin_embedded/ios.cmake
@@ -0,0 +1,3 @@
1set(PLATFORM_REQUIRED_DEPS OpenGLES)
2set(APP_RENDER_SYSTEM gles)
3list(APPEND PLATFORM_DEFINES -DTARGET_DARWIN_IOS)
diff --git a/cmake/platform/darwin_embedded/tvos.cmake b/cmake/platform/darwin_embedded/tvos.cmake
new file mode 100644
index 0000000..b29ed32
--- /dev/null
+++ b/cmake/platform/darwin_embedded/tvos.cmake
@@ -0,0 +1,3 @@
1set(PLATFORM_REQUIRED_DEPS OpenGLES)
2set(APP_RENDER_SYSTEM gles)
3list(APPEND PLATFORM_DEFINES -DTARGET_DARWIN_TVOS)