aboutsummaryrefslogtreecommitdiff
path: root/cmake/platform
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platform')
-rw-r--r--cmake/platform/android/defines.txt1
-rw-r--r--cmake/platform/freebsd/defines.txt1
-rw-r--r--cmake/platform/ios/defines.txt1
-rw-r--r--cmake/platform/linux/defines.txt1
-rw-r--r--cmake/platform/osx/defines.txt1
-rw-r--r--cmake/platform/rbpi/defines.txt1
-rw-r--r--cmake/platform/windows/defines.txt1
7 files changed, 7 insertions, 0 deletions
diff --git a/cmake/platform/android/defines.txt b/cmake/platform/android/defines.txt
new file mode 100644
index 0000000000..fa103d0060
--- /dev/null
+++ b/cmake/platform/android/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -DTARGET_ANDROID
diff --git a/cmake/platform/freebsd/defines.txt b/cmake/platform/freebsd/defines.txt
new file mode 100644
index 0000000000..94835971a3
--- /dev/null
+++ b/cmake/platform/freebsd/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_FREEBSD -D_LINUX
diff --git a/cmake/platform/ios/defines.txt b/cmake/platform/ios/defines.txt
new file mode 100644
index 0000000000..d0989ea1ce
--- /dev/null
+++ b/cmake/platform/ios/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_IOS -D_LINUX
diff --git a/cmake/platform/linux/defines.txt b/cmake/platform/linux/defines.txt
new file mode 100644
index 0000000000..3fe9c5caad
--- /dev/null
+++ b/cmake/platform/linux/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -fPIC
diff --git a/cmake/platform/osx/defines.txt b/cmake/platform/osx/defines.txt
new file mode 100644
index 0000000000..33b009e3a7
--- /dev/null
+++ b/cmake/platform/osx/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_OSX -D_LINUX
diff --git a/cmake/platform/rbpi/defines.txt b/cmake/platform/rbpi/defines.txt
new file mode 100644
index 0000000000..08fe4cbdd2
--- /dev/null
+++ b/cmake/platform/rbpi/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_ARMEL -DTARGET_RASPBERRY_PI
diff --git a/cmake/platform/windows/defines.txt b/cmake/platform/windows/defines.txt
new file mode 100644
index 0000000000..5ccd98a9c1
--- /dev/null
+++ b/cmake/platform/windows/defines.txt
@@ -0,0 +1 @@
+-DTARGET_WINDOWS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_USE_32BIT_TIME_T -D_WINSOCKAPI_ \ No newline at end of file