[cmake-developers] Bug with CMAKE_ASM_COMPILER and Android NDK

Brad King brad.king at kitware.com
Mon Jun 26 11:25:20 EDT 2017


On 06/23/2017 03:18 PM, Robert Dailey wrote:
> enable_language(ASM)
> 
> CMake appears to find clang.exe in the wrong place

Add a `Modules/Platform/Android-Determine-ASM.cmake` module
based on `Modules/Platform/Android-Determine-CXX.cmake`.

Also the modules

  Modules/Platform/Android/Determine-Compiler-NDK.cmake
  Modules/Platform/Android/Determine-Compiler-Standalone.cmake
  Modules/Platform/Android/Determine-Compiler.cmake

need to be updated to set `_ANDROID_TOOL_ASM_COMPILER` and similar
variables for ASM as is done for C and CXX.

-Brad



More information about the cmake-developers mailing list