Android-Determine.cmake 967 B

123456789101112131415161718192021
  1. #=============================================================================
  2. # Copyright 2015-2016 Kitware, Inc.
  3. #
  4. # Distributed under the OSI-approved BSD License (the "License");
  5. # see accompanying file Copyright.txt for details.
  6. #
  7. # This software is distributed WITHOUT ANY WARRANTY; without even the
  8. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. # See the License for more information.
  10. #=============================================================================
  11. # (To distribute this file outside of CMake, substitute the full
  12. # License text for the above reference.)
  13. # When CMAKE_SYSTEM_NAME is "Android", CMakeDetermineSystem loads this module.
  14. # Support for NVIDIA Nsight Tegra Visual Studio Edition was previously
  15. # implemented in the CMake VS IDE generators. Avoid interfering with
  16. # that functionality for now. Later we may try to integrate this.
  17. if(CMAKE_VS_PLATFORM_NAME STREQUAL "Tegra-Android")
  18. return()
  19. endif()