summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android
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
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')
-rw-r--r--Modules/Platform/Android/Determine-Compiler.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/Platform/Android/Determine-Compiler.cmake b/Modules/Platform/Android/Determine-Compiler.cmake
index a036481..67cb671 100644
--- a/Modules/Platform/Android/Determine-Compiler.cmake
+++ b/Modules/Platform/Android/Determine-Compiler.cmake
@@ -17,5 +17,14 @@ if(__ANDROID_DETERMINE_COMPILER)
endif()
set(__ANDROID_DETERMINE_COMPILER 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_determine_compiler lang)
+ endmacro()
+ return()
+endif()
+
macro(__android_determine_compiler lang)
endmacro()