aboutsummaryrefslogtreecommitdiff
path: root/cmake/platform
diff options
context:
space:
mode:
authorh.udo <hudokkow@gmail.com>2016-09-08 18:15:54 +0100
committerh.udo <hudokkow@gmail.com>2016-12-21 10:04:18 +0000
commita18701e7b2fe03780f90502d5d51e09cdc3ad718 (patch)
treea9d2c2cca8599a18a78c6b1345f42e48e76ddb27 /cmake/platform
parentf2b31fda391d3364b7307ab9f9216fa0ee7164c7 (diff)
[cmake] Move to root folder: Move files
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