summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android-GNU.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-02 14:24:44 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-12 14:40:52 (GMT)
commit8e0cb45e5591cc778b054780f9e6290c3f239815 (patch)
tree8dd5a5baf101d5aa29b659a1fe66f2f3a84f01b0 /Modules/Platform/Android-GNU.cmake
parentd5e7d5f3ebb42e1a8b38e4bd30f717cdac81ed77 (diff)
downloadCMake-8e0cb45e5591cc778b054780f9e6290c3f239815.zip
CMake-8e0cb45e5591cc778b054780f9e6290c3f239815.tar.gz
CMake-8e0cb45e5591cc778b054780f9e6290c3f239815.tar.bz2
Android: Suppress new functionality with Nsight Tegra in VS IDE builds
Support for NVIDIA Nsight Tegra Visual Studio Edition was previously implemented in the CMake VS IDE generators. Avoid interfering with that functionality for now. Later we may try to integrate this.
Diffstat (limited to 'Modules/Platform/Android-GNU.cmake')
-rw-r--r--Modules/Platform/Android-GNU.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/Platform/Android-GNU.cmake b/Modules/Platform/Android-GNU.cmake
index 13369d0..4f25bf3 100644
--- a/Modules/Platform/Android-GNU.cmake
+++ b/Modules/Platform/Android-GNU.cmake
@@ -17,6 +17,15 @@ if(__ANDROID_COMPILER_GNU)
endif()
set(__ANDROID_COMPILER_GNU 1)
+# Support for NVIDIA Nsight Tegra Visual Studio Edition was previously
+# implemented in the CMake VS IDE generators. Avoid interfering with
+# that functionality for now. Later we may try to integrate this.
+if(CMAKE_VS_PLATFORM_NAME STREQUAL "Tegra-Android")
+ macro(__android_compiler_gnu lang)
+ endmacro()
+ return()
+endif()
+
include(Platform/Android-Common)
macro(__android_compiler_gnu lang)