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.cmake1
-rw-r--r--cmake/platform/darwin_embedded/tvos.cmake2
3 files changed, 4 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..55d7c4a
--- /dev/null
+++ b/cmake/platform/darwin_embedded/ios.cmake
@@ -0,0 +1 @@
+list(APPEND ARCH_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..8d2538c
--- /dev/null
+++ b/cmake/platform/darwin_embedded/tvos.cmake
@@ -0,0 +1,2 @@
+list(APPEND ARCH_DEFINES -DTARGET_DARWIN_TVOS)
+set(ENABLE_AIRTUNES OFF CACHE BOOL "" FORCE)