On 11/10/2016 10:46 PM, Ruslan Baratov wrote: > the value > "${CMAKE_CXX_ANDROID_TOOLCHAIN_PREFIX}cpp${CMAKE_CXX_ANDROID_TOOLCHAIN_SUFFIX}"
This expression is the documented way to get the paths to the Android tools. I see no reason to add a pre-evaluated copy for every tool. > ANDROID_TOOLCHAIN_MACHINE_NAME? In your original message it looked like you needed this only to construct the path above. > get_filename_component(ANDROID_TOOLCHAIN_MACHINE_NAME > "${CMAKE_CXX_ANDROID_TOOLCHAIN_PREFIX}" NAME) > string(REGEX REPLACE "-$" "" ANDROID_TOOLCHAIN_MACHINE_NAME > "${ANDROID_TOOLCHAIN_MACHINE_NAME}") AFAICT the only meaning this value has is exactly what that code expresses. What is your use case for getting this value and why is it needed separately? -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers