summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-02 14:23:20 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-12 14:40:51 (GMT)
commitd5e7d5f3ebb42e1a8b38e4bd30f717cdac81ed77 (patch)
tree82041a394b071e10a3057791798d57f5206003e5 /Modules
parent64be1ae4a3ae98e63cf35d495f0ca06c77cdf923 (diff)
downloadCMake-d5e7d5f3ebb42e1a8b38e4bd30f717cdac81ed77.zip
CMake-d5e7d5f3ebb42e1a8b38e4bd30f717cdac81ed77.tar.gz
CMake-d5e7d5f3ebb42e1a8b38e4bd30f717cdac81ed77.tar.bz2
Android: Add placeholders for platform-specific initialization
Add infrastructure modules to be loaded when initializing builds targeting Android platforms.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Android-Determine.cmake14
-rw-r--r--Modules/Platform/Android-Initialize.cmake15
2 files changed, 29 insertions, 0 deletions
diff --git a/Modules/Platform/Android-Determine.cmake b/Modules/Platform/Android-Determine.cmake
new file mode 100644
index 0000000..d93377e
--- /dev/null
+++ b/Modules/Platform/Android-Determine.cmake
@@ -0,0 +1,14 @@
+#=============================================================================
+# Copyright 2015-2016 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# When CMAKE_SYSTEM_NAME is "Android", CMakeDetermineSystem loads this module.
diff --git a/Modules/Platform/Android-Initialize.cmake b/Modules/Platform/Android-Initialize.cmake
new file mode 100644
index 0000000..e1e57a3
--- /dev/null
+++ b/Modules/Platform/Android-Initialize.cmake
@@ -0,0 +1,15 @@
+#=============================================================================
+# Copyright 2015-2016 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# When CMAKE_SYSTEM_NAME is "Android", CMakeSystemSpecificInitialize loads this
+# module.