diff options
author | Brad King <brad.king@kitware.com> | 2016-06-02 14:24:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-12 14:40:52 (GMT) |
commit | 8e0cb45e5591cc778b054780f9e6290c3f239815 (patch) | |
tree | 8dd5a5baf101d5aa29b659a1fe66f2f3a84f01b0 /Modules/Platform/Android-GNU.cmake | |
parent | d5e7d5f3ebb42e1a8b38e4bd30f717cdac81ed77 (diff) | |
download | CMake-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.cmake | 9 |
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) |