Re: [cmake-developers] Android variables

2016-11-14 Thread Brad King
On 11/11/2016 01:51 PM, Brad King wrote: > Okay, thanks. I'll investigate how to properly expose this information. Please see: https://gitlab.kitware.com/cmake/cmake/merge_requests/254 -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] Android variables

2016-11-12 Thread Ruslan Baratov via cmake-developers
On 13-Nov-16 00:48, Florent Castelli wrote: > On 12/11/2016 13:35, Ruslan Baratov wrote: >> On 12-Nov-16 19:09, Florent Castelli wrote: >>> On 12/11/2016 06:53, Ruslan Baratov wrote: On 12-Nov-16 08:21, Florent Castelli wrote: > On 10/11/2016 16:05, Ruslan Baratov via cmake-developers

Re: [cmake-developers] Android variables

2016-11-12 Thread Florent Castelli
On 12/11/2016 13:35, Ruslan Baratov wrote: On 12-Nov-16 19:09, Florent Castelli wrote: On 12/11/2016 06:53, Ruslan Baratov wrote: On 12-Nov-16 08:21, Florent Castelli wrote: On 10/11/2016 16:05, Ruslan Baratov via cmake-developers wrote: Hi, I wonder if it's possible to introduce next

Re: [cmake-developers] Android variables

2016-11-12 Thread Ruslan Baratov via cmake-developers
On 12-Nov-16 19:09, Florent Castelli wrote: > On 12/11/2016 06:53, Ruslan Baratov wrote: >> On 12-Nov-16 08:21, Florent Castelli wrote: >>> On 10/11/2016 16:05, Ruslan Baratov via cmake-developers wrote: Hi, I wonder if it's possible to introduce next variables describing

Re: [cmake-developers] Android variables

2016-11-12 Thread Florent Castelli
On 12/11/2016 06:53, Ruslan Baratov wrote: On 12-Nov-16 08:21, Florent Castelli wrote: On 10/11/2016 16:05, Ruslan Baratov via cmake-developers wrote: Hi, I wonder if it's possible to introduce next variables describing Android tools: * C preprocessor. Similar to CMAKE_CXX_COMPILER the

Re: [cmake-developers] Android variables

2016-11-11 Thread Ruslan Baratov via cmake-developers
On 12-Nov-16 08:21, Florent Castelli wrote: > On 10/11/2016 16:05, Ruslan Baratov via cmake-developers wrote: >> Hi, >> >> I wonder if it's possible to introduce next variables describing Android >> tools: >> * C preprocessor. Similar to CMAKE_CXX_COMPILER the variable that will >> contain the

Re: [cmake-developers] Android variables

2016-11-11 Thread Florent Castelli
On 10/11/2016 16:05, Ruslan Baratov via cmake-developers wrote: Hi, I wonder if it's possible to introduce next variables describing Android tools: * C preprocessor. Similar to CMAKE_CXX_COMPILER the variable that will contain the path to preprocessor. Example: * CMAKE_CXX_COMPILER =

Re: [cmake-developers] Android variables

2016-11-11 Thread Brad King
On 11/11/2016 08:28 AM, Ruslan Baratov wrote: > Even if they may not be needed in regular CMake code such variables can be > useful "outside". Okay, thanks. I'll investigate how to properly expose this information. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [cmake-developers] Android variables

2016-11-11 Thread Ruslan Baratov via cmake-developers
On 11-Nov-16 21:09, Brad King wrote: > 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

Re: [cmake-developers] Android variables

2016-11-11 Thread Brad King
On 11/11/2016 08:11 AM, Ruslan Baratov wrote: > What about making it public? Please explain your use case for each piece of information you request. Maybe there is already a way to do it. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] Android variables

2016-11-11 Thread Ruslan Baratov via cmake-developers
On 10-Nov-16 23:05, Ruslan Baratov via cmake-developers wrote: > * CMAKE_CXX_COMPILER = > /toolchains/${ANDROID_TOOLCHAIN_MACHINE_NAME}-4.9/prebuilt/linux-x86_64/bin/${ANDROID_TOOLCHAIN_MACHINE_NAME}-g++ Actually there are more variables here, ANDROID_COMPILER_VERSION and

Re: [cmake-developers] Android variables

2016-11-11 Thread Brad King
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. >

Re: [cmake-developers] Android variables

2016-11-10 Thread Ruslan Baratov via cmake-developers
Okay, thanks. But this doesn't answer my question. So can we introduce new variable CMAKE_C_PREPROCESSOR with the value |"${CMAKE_CXX_ANDROID_TOOLCHAIN_PREFIX}cpp${CMAKE_CXX_ANDROID_TOOLCHAIN_SUFFIX}"? Similar to CMAKE_C_COMPILER, CMAKE_CXX_COMPILER, CMAKE_AR. What about

Re: [cmake-developers] Android variables

2016-11-10 Thread Brad King
On 11/10/2016 10:05 AM, Ruslan Baratov via cmake-developers wrote: > variables describing Android tools: See: * https://cmake.org/cmake/help/v3.7/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.html * https://cmake.org/cmake/help/v3.7/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_SUFFIX.html *

[cmake-developers] Android variables

2016-11-10 Thread Ruslan Baratov via cmake-developers
Hi, I wonder if it's possible to introduce next variables describing Android tools: * C preprocessor. Similar to CMAKE_CXX_COMPILER the variable that will contain the path to preprocessor. Example: * CMAKE_CXX_COMPILER =