summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-03 15:01:47 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-12-03 15:01:47 (GMT)
commitf773e28a8e6033ca128e1dd223fc2345a97efba5 (patch)
tree1df9e5d1b9173d63a29f653ffda59c6ae8526335 /Help
parent53fa072e6a63477916f38028c5f5d818c47f6980 (diff)
parent23e2bd7e8cd69eeb6bc607a0b62c764567ac3c5f (diff)
downloadCMake-f773e28a8e6033ca128e1dd223fc2345a97efba5.zip
CMake-f773e28a8e6033ca128e1dd223fc2345a97efba5.tar.gz
CMake-f773e28a8e6033ca128e1dd223fc2345a97efba5.tar.bz2
Merge topic 'doc-Nsight-Tegra-toolchain'
23e2bd7e Help: Document Nsight Tegra toolchain configuration (#15276)
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-toolchains.7.rst17
-rw-r--r--Help/prop_tgt/ANDROID_GUI.rst4
2 files changed, 21 insertions, 0 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst
index afc8ba2..44ffb3b 100644
--- a/Help/manual/cmake-toolchains.7.rst
+++ b/Help/manual/cmake-toolchains.7.rst
@@ -241,3 +241,20 @@ Windows Store may look like this:
set(CMAKE_SYSTEM_NAME WindowsStore)
set(CMAKE_SYSTEM_VERSION 8.1)
+
+Cross Compiling using NVIDIA Nsight Tegra
+-----------------------------------------
+
+A toolchain file to configure a Visual Studio generator to
+build using NVIDIA Nsight Tegra targeting Android may look
+like this:
+
+.. code-block:: cmake
+
+ set(CMAKE_SYSTEM_NAME Android)
+
+The :variable:`CMAKE_GENERATOR_TOOLSET` may be set to select
+the Nsight Tegra "Toolchain Version" value.
+
+See the :prop_tgt:`ANDROID_API` and :prop_tgt:`ANDROID_GUI`
+target properties to configure targets within the project.
diff --git a/Help/prop_tgt/ANDROID_GUI.rst b/Help/prop_tgt/ANDROID_GUI.rst
index 90d2428..abdba7a 100644
--- a/Help/prop_tgt/ANDROID_GUI.rst
+++ b/Help/prop_tgt/ANDROID_GUI.rst
@@ -7,3 +7,7 @@ When this property is set to true the executable when built for Android
will be created as an application package. This property is initialized
by the value of the :variable:`CMAKE_ANDROID_GUI` variable if it is set
when a target is created.
+
+Add the ``AndroidManifest.xml`` source file explicitly to the
+target :command:`add_executable` command invocation to specify the
+root directory of the application package source.