aboutsummaryrefslogtreecommitdiff
path: root/project/cmake
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2015-01-24 19:19:55 +0100
committermontellese <montellese@xbmc.org>2015-02-18 16:07:42 +0100
commit83bdeda4a8e87baf0061fe87a83d626bc9d1fa22 (patch)
treedfff1b6069cc2afc00b83ea48b7a0ccb9699d251 /project/cmake
parent92d9ac1b257e76b6861376a5c7ac9018b134a9b7 (diff)
cmake: add platform definitions for android, darwin, freebsd, ios, rbpi and windows
Diffstat (limited to 'project/cmake')
-rw-r--r--project/cmake/platform/android/defines.txt1
-rw-r--r--project/cmake/platform/darwin/defines.txt1
-rw-r--r--project/cmake/platform/freebsd/defines.txt1
-rw-r--r--project/cmake/platform/ios/defines.txt1
-rw-r--r--project/cmake/platform/rbpi/defines.txt1
-rw-r--r--project/cmake/platform/windows/defines.txt1
6 files changed, 6 insertions, 0 deletions
diff --git a/project/cmake/platform/android/defines.txt b/project/cmake/platform/android/defines.txt
new file mode 100644
index 0000000000..fa103d0060
--- /dev/null
+++ b/project/cmake/platform/android/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -DTARGET_ANDROID
diff --git a/project/cmake/platform/darwin/defines.txt b/project/cmake/platform/darwin/defines.txt
new file mode 100644
index 0000000000..33b009e3a7
--- /dev/null
+++ b/project/cmake/platform/darwin/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_OSX -D_LINUX
diff --git a/project/cmake/platform/freebsd/defines.txt b/project/cmake/platform/freebsd/defines.txt
new file mode 100644
index 0000000000..94835971a3
--- /dev/null
+++ b/project/cmake/platform/freebsd/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_FREEBSD -D_LINUX
diff --git a/project/cmake/platform/ios/defines.txt b/project/cmake/platform/ios/defines.txt
new file mode 100644
index 0000000000..d0989ea1ce
--- /dev/null
+++ b/project/cmake/platform/ios/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_IOS -D_LINUX
diff --git a/project/cmake/platform/rbpi/defines.txt b/project/cmake/platform/rbpi/defines.txt
new file mode 100644
index 0000000000..08fe4cbdd2
--- /dev/null
+++ b/project/cmake/platform/rbpi/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_ARMEL -DTARGET_RASPBERRY_PI
diff --git a/project/cmake/platform/windows/defines.txt b/project/cmake/platform/windows/defines.txt
new file mode 100644
index 0000000000..5ccd98a9c1
--- /dev/null
+++ b/project/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