diff options
Diffstat (limited to 'cmake/platform')
| -rw-r--r-- | cmake/platform/android/android.cmake | 1 | ||||
| -rw-r--r-- | cmake/platform/android/defines.txt | 1 | ||||
| -rw-r--r-- | cmake/platform/freebsd/defines.txt | 1 | ||||
| -rw-r--r-- | cmake/platform/ios/defines.txt | 1 | ||||
| -rw-r--r-- | cmake/platform/ios/ios.cmake | 1 | ||||
| -rw-r--r-- | cmake/platform/linux/aml.cmake | 1 | ||||
| -rw-r--r-- | cmake/platform/linux/defines.txt | 1 | ||||
| -rw-r--r-- | cmake/platform/linux/imx.cmake | 1 | ||||
| -rw-r--r-- | cmake/platform/linux/mir.cmake | 2 | ||||
| -rw-r--r-- | cmake/platform/linux/x11.cmake | 2 | ||||
| -rw-r--r-- | cmake/platform/osx/defines.txt | 1 | ||||
| -rw-r--r-- | cmake/platform/osx/osx.cmake | 1 | ||||
| -rw-r--r-- | cmake/platform/rbpi/defines.txt | 1 | ||||
| -rw-r--r-- | cmake/platform/rbpi/rbpi.cmake | 1 | ||||
| -rw-r--r-- | cmake/platform/windows/defines.txt | 1 | ||||
| -rw-r--r-- | cmake/platform/windows/windows.cmake | 1 |
16 files changed, 18 insertions, 0 deletions
diff --git a/cmake/platform/android/android.cmake b/cmake/platform/android/android.cmake new file mode 100644 index 0000000..ab0f361 --- /dev/null +++ b/cmake/platform/android/android.cmake | |||
| @@ -0,0 +1 @@ | |||
| set(PLATFORM_REQUIRED_DEPS OpenGLES) | |||
diff --git a/cmake/platform/android/defines.txt b/cmake/platform/android/defines.txt new file mode 100644 index 0000000..fa103d0 --- /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 0000000..9483597 --- /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 0000000..d0989ea --- /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/ios/ios.cmake b/cmake/platform/ios/ios.cmake new file mode 100644 index 0000000..ab0f361 --- /dev/null +++ b/cmake/platform/ios/ios.cmake | |||
| @@ -0,0 +1 @@ | |||
| set(PLATFORM_REQUIRED_DEPS OpenGLES) | |||
diff --git a/cmake/platform/linux/aml.cmake b/cmake/platform/linux/aml.cmake new file mode 100644 index 0000000..c1d464d --- /dev/null +++ b/cmake/platform/linux/aml.cmake | |||
| @@ -0,0 +1 @@ | |||
| set(PLATFORM_REQUIRED_DEPS OpenGLES AML EGL) | |||
diff --git a/cmake/platform/linux/defines.txt b/cmake/platform/linux/defines.txt new file mode 100644 index 0000000..3fe9c5c --- /dev/null +++ b/cmake/platform/linux/defines.txt | |||
| @@ -0,0 +1 @@ | |||
| -DTARGET_POSIX -DTARGET_LINUX -D_LINUX -fPIC | |||
diff --git a/cmake/platform/linux/imx.cmake b/cmake/platform/linux/imx.cmake new file mode 100644 index 0000000..c0c7196 --- /dev/null +++ b/cmake/platform/linux/imx.cmake | |||
| @@ -0,0 +1 @@ | |||
| set(PLATFORM_REQUIRED_DEPS OpenGLES EGL IMX) | |||
diff --git a/cmake/platform/linux/mir.cmake b/cmake/platform/linux/mir.cmake new file mode 100644 index 0000000..7f20da8 --- /dev/null +++ b/cmake/platform/linux/mir.cmake | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | set(PLATFORM_REQUIRED_DEPS OpenGl EGL Mir LibDRM) | ||
| 2 | set(PLATFORM_OPTIONAL_DEPS VAAPI OpenGLES) | ||
diff --git a/cmake/platform/linux/x11.cmake b/cmake/platform/linux/x11.cmake new file mode 100644 index 0000000..edea24d --- /dev/null +++ b/cmake/platform/linux/x11.cmake | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | set(PLATFORM_REQUIRED_DEPS OpenGl EGL X XRandR LibDRM GLX) | ||
| 2 | set(PLATFORM_OPTIONAL_DEPS VAAPI VDPAU) | ||
diff --git a/cmake/platform/osx/defines.txt b/cmake/platform/osx/defines.txt new file mode 100644 index 0000000..33b009e --- /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/osx/osx.cmake b/cmake/platform/osx/osx.cmake new file mode 100644 index 0000000..e81703c --- /dev/null +++ b/cmake/platform/osx/osx.cmake | |||
| @@ -0,0 +1 @@ | |||
| set(PLATFORM_REQUIRED_DEPS OpenGl Sdl) | |||
diff --git a/cmake/platform/rbpi/defines.txt b/cmake/platform/rbpi/defines.txt new file mode 100644 index 0000000..08fe4cb --- /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/rbpi/rbpi.cmake b/cmake/platform/rbpi/rbpi.cmake new file mode 100644 index 0000000..4899857 --- /dev/null +++ b/cmake/platform/rbpi/rbpi.cmake | |||
| @@ -0,0 +1 @@ | |||
| set(PLATFORM_REQUIRED_DEPS OpenGLES EGL MMAL) | |||
diff --git a/cmake/platform/windows/defines.txt b/cmake/platform/windows/defines.txt new file mode 100644 index 0000000..2482237 --- /dev/null +++ b/cmake/platform/windows/defines.txt | |||
| @@ -0,0 +1 @@ | |||
| -DTARGET_WINDOWS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_WINSOCKAPI_ \ No newline at end of file | |||
diff --git a/cmake/platform/windows/windows.cmake b/cmake/platform/windows/windows.cmake new file mode 100644 index 0000000..dbe9417 --- /dev/null +++ b/cmake/platform/windows/windows.cmake | |||
| @@ -0,0 +1 @@ | |||
| # File intentionally left empty | |||
