Re: [cmake-developers] Android Support

2016-10-20 Thread Brad King
On 10/20/2016 04:19 PM, Robert Dailey wrote:
> Another question: Will CMake's android support only work with official
> NDK releases? Or can I expect it to function with unofficial NDKs such
> as Crystax?

We assume the official NDK layout.  If an unofficial NDK has the
same layout it may work.  Otherwise additional work may be needed.

-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


Re: [cmake-developers] Android Support

2016-10-20 Thread Robert Dailey
On Thu, Oct 20, 2016 at 2:51 PM, Brad King  wrote:
> On 10/20/2016 03:35 PM, Robert Dailey wrote:
>> So using takanome's cmake toolchain, he had support for native app
>> glue. Does CMake offer support for this now? I was able to generate
>> but I'm not able to load in native app glue from the NDK.
>
> We don't currently offer a first-class interface for it but the locations
> are available relative to CMAKE_ANDROID_NDK:
>
> ```
> include_directories("${CMAKE_ANDROID_NDK}/sources/android/native_app_glue")
> set(my_sources ...
>   
> ${CMAKE_ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c
>   )
> ```
>
> Similarly for cpufeatures and ndk_helper.
>
> That is why
>
>  
> https://github.com/taka-no-me/android-cmake/blob/master/AndroidNdkModules.cmake
>
> simply wraps around hard-coded locations.

Thanks a bunch Brad. I simply modified AndroidNdkModules.cmake to use
CMAKE_ANDROID_NDK and it works perfect now.

Another question: Will CMake's android support only work with official
NDK releases? Or can I expect it to function with unofficial NDKs such
as Crystax?
-- 

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


Re: [cmake-developers] Android Support

2016-10-20 Thread Brad King
On 10/20/2016 03:35 PM, Robert Dailey wrote:
> So using takanome's cmake toolchain, he had support for native app
> glue. Does CMake offer support for this now? I was able to generate
> but I'm not able to load in native app glue from the NDK.

We don't currently offer a first-class interface for it but the locations
are available relative to CMAKE_ANDROID_NDK:

```
include_directories("${CMAKE_ANDROID_NDK}/sources/android/native_app_glue")
set(my_sources ...
  ${CMAKE_ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c
  )
```

Similarly for cpufeatures and ndk_helper.

That is why

 https://github.com/taka-no-me/android-cmake/blob/master/AndroidNdkModules.cmake

simply wraps around hard-coded locations.

-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


Re: [cmake-developers] Android Support

2016-10-20 Thread Robert Dailey
So using takanome's cmake toolchain, he had support for native app
glue. Does CMake offer support for this now? I was able to generate
but I'm not able to load in native app glue from the NDK.

On Tue, Oct 18, 2016 at 10:05 AM, Mikhail Filimonov
 wrote:
> Hi Brad,
> It looks that those commits broke CMake scripts used to generate Nsight Tegra 
> projects:
> https://gitlab.kitware.com/cmake/cmake/issues/16371
> Even CMake/tree/master/Tests/VSNsightTegra doesn't work with CMake ToT
>
> Regards,
> Mikhail Filimonov
>
> -Original Message-
> From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf 
> Of Brad King
> Sent: Friday, August 12, 2016 6:13 PM
> To: cmake-developers@cmake.org
> Subject: [cmake-developers] Android Support
>
> Hi Folks,
>
> I've implemented native support for cross-compiling to Android with CMake 
> using either an Android NDK or an Android Standalone Toolchain.
> I plan to include this in the CMake 3.7 release.
>
> Please see the MR here:
>
>   https://gitlab.kitware.com/cmake/cmake/merge_requests/62
>
> This enables building with simple toolchain files, or even without one:
>
>   $ cmake ../src -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=/path/to/ndk
>
> Note that interface compatibility with popular third-party Android toolchain 
> files is a non-goal of this work (though we should not break them too much).
> Instead I'd like to make the support feel native within CMake.  For example, 
> the Android API level is naturally specified by CMAKE_SYSTEM_VERSION.
>
> If you're interested in this support please fetch the MR branch and try it 
> out.  The Help/manual/cmake-toolchains.7.rst manual has been updated with 
> documentation about how to use this.
>
> -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
> ---
> This email message is for the sole use of the intended recipient(s) and may 
> contain
> confidential information.  Any unauthorized review, use, disclosure or 
> distribution
> is prohibited.  If you are not the intended recipient, please contact the 
> sender by
> reply email and destroy all copies of the original message.
> ---
> --
>
> 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
-- 

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


Re: [cmake-developers] Android Support

2016-10-18 Thread Mikhail Filimonov
Hi Brad,
It looks that those commits broke CMake scripts used to generate Nsight Tegra 
projects:
https://gitlab.kitware.com/cmake/cmake/issues/16371
Even CMake/tree/master/Tests/VSNsightTegra doesn't work with CMake ToT

Regards,
Mikhail Filimonov

-Original Message-
From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of 
Brad King
Sent: Friday, August 12, 2016 6:13 PM
To: cmake-developers@cmake.org
Subject: [cmake-developers] Android Support

Hi Folks,

I've implemented native support for cross-compiling to Android with CMake using 
either an Android NDK or an Android Standalone Toolchain.
I plan to include this in the CMake 3.7 release.

Please see the MR here:

  https://gitlab.kitware.com/cmake/cmake/merge_requests/62

This enables building with simple toolchain files, or even without one:

  $ cmake ../src -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=/path/to/ndk

Note that interface compatibility with popular third-party Android toolchain 
files is a non-goal of this work (though we should not break them too much).
Instead I'd like to make the support feel native within CMake.  For example, 
the Android API level is naturally specified by CMAKE_SYSTEM_VERSION.

If you're interested in this support please fetch the MR branch and try it out. 
 The Help/manual/cmake-toolchains.7.rst manual has been updated with 
documentation about how to use this.

-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
---
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
---
-- 

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


Re: [cmake-developers] Android Support

2016-09-27 Thread Brad King
On 09/27/2016 12:23 PM, Robert Dailey wrote:
> Brad, do you have a guide or walkthrough for the new CMake integration
> features of 3.7 that I can read?

It's documented in the cmake-toolchains(7) manual:

 
https://cmake.org/cmake/help/git-master/manual/cmake-toolchains.7.html#cross-compiling-for-android

> Would love to see a tutorial on how it works for an out-of-the-box NDK
> setup.

The basic usage is:

```
$ cmake ../src \
  -DCMAKE_SYSTEM_NAME=Android \
  -DCMAKE_SYSTEM_VERSION=21 \
  -DCMAKE_ANDROID_NDK=/path/to/android-ndk
```

The ANDROID_NDK environment variable is among the documented ways to
specify the path to the NDK instead of defining CMAKE_ANDROID_NDK.

-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


Re: [cmake-developers] Android Support

2016-09-27 Thread Robert Dailey
On Tue, Sep 27, 2016 at 10:39 AM, Brad King  wrote:
> On 09/27/2016 11:28 AM, Florent Castelli wrote:
>> Is there any plan on having their toolchain in CMake directly at some point?
>
> No.  Their toolchain files are designed to be loaded from the NDK.  They
> compute things relative to their own location and are meant to know exactly
> what is there.
>
> The whole point of a toolchain file is supposed to be to have information 
> about
> the local machine that CMake can't know in general.  They aren't supposed to 
> be
> these huge files with tables of information common to the target platform and
> full of system introspection logic.  CMake now has those tables so the 
> toolchain
> files don't have to.
>
> With CMake 3.7 you shouldn't actually need a toolchain file from the NDK.
> In fact for simple cases you don't even need a toolchain file at all.

Brad, do you have a guide or walkthrough for the new CMake integration
features of 3.7 that I can read? I'm actively developing using CMake +
NDK and it's incredibly difficult to keep takanome's android-cmake
toolchain file functional for newer versions of the NDK (specifically
r11 and r12).

Would love to see a tutorial on how it works for an out-of-the-box NDK
setup. I'm not sure how much CMake has hard-coded the location of
prebuilt toolchains and such on the NDK. As you pointed out, the
toolchain is supposed to point to this stuff. Does CMake just need the
ANDROID_NDK environment variable?

Thanks in advance!!
-- 

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


Re: [cmake-developers] Android Support

2016-09-27 Thread Brad King
On 09/27/2016 11:28 AM, Florent Castelli wrote:
> Is there any plan on having their toolchain in CMake directly at some point?

No.  Their toolchain files are designed to be loaded from the NDK.  They
compute things relative to their own location and are meant to know exactly
what is there.

The whole point of a toolchain file is supposed to be to have information about
the local machine that CMake can't know in general.  They aren't supposed to be
these huge files with tables of information common to the target platform and
full of system introspection logic.  CMake now has those tables so the toolchain
files don't have to.

With CMake 3.7 you shouldn't actually need a toolchain file from the NDK.
In fact for simple cases you don't even need a toolchain file at all.

-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


Re: [cmake-developers] Android Support

2016-09-27 Thread Florent Castelli
That’s great to know, thanks!
Is there any plan on having their toolchain in CMake directly at some point?

I’m afraid that even if they update their options to use the upstream support, 
they may not allow using those options directly and we’ll still have to support 
2 toolchains.
That’s especially true if you chose not to build with Gradle but a standalone 
CMake build (using upstream) and then don’t have access to their toolchain file.

/Orphis

> On 27 Sep 2016, at 13:51, Brad King  wrote:
> 
> On 09/26/2016 05:50 PM, David Neto wrote:
>>> I just don't want to have 2 toolchains to support, that would be really 
>>> terrible :(
>> 
>> I work for Google but not in this area, and I don't know who is doing this 
>> support.
>> I suspect this is just an accidental duplication of effort.
> 
> I have been in contact with them.  They are aware of what CMake 3.7 will have
> and plan to port their toolchain files to take advantage of it.  They can 
> simply
> map their options to CMake's new equivalents.
> 
> The two efforts were mostly orthogonal.  CMake's side of the work makes
> toolchain files much simpler, but does not actually provide any toolchain 
> files.
> The NDK's side of the work provides toolchain files that are aware of exactly
> what comes with the NDK.
> 
> -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

Re: [cmake-developers] Android Support

2016-09-27 Thread David Neto via cmake-developers
Sounds good to me.   Sorry if I caused concern.

thanks
david

On Tue, Sep 27, 2016 at 7:51 AM Brad King  wrote:

> On 09/26/2016 05:50 PM, David Neto wrote:
> >> I just don't want to have 2 toolchains to support, that would be really
> terrible :(
> >
> > I work for Google but not in this area, and I don't know who is doing
> this support.
> > I suspect this is just an accidental duplication of effort.
>
> I have been in contact with them.  They are aware of what CMake 3.7 will
> have
> and plan to port their toolchain files to take advantage of it.  They can
> simply
> map their options to CMake's new equivalents.
>
> The two efforts were mostly orthogonal.  CMake's side of the work makes
> toolchain files much simpler, but does not actually provide any toolchain
> files.
> The NDK's side of the work provides toolchain files that are aware of
> exactly
> what comes with the NDK.
>
> -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

Re: [cmake-developers] Android Support

2016-09-27 Thread Brad King
On 09/26/2016 05:50 PM, David Neto wrote:
>> I just don't want to have 2 toolchains to support, that would be really 
>> terrible :(
> 
> I work for Google but not in this area, and I don't know who is doing this 
> support.
> I suspect this is just an accidental duplication of effort.

I have been in contact with them.  They are aware of what CMake 3.7 will have
and plan to port their toolchain files to take advantage of it.  They can simply
map their options to CMake's new equivalents.

The two efforts were mostly orthogonal.  CMake's side of the work makes
toolchain files much simpler, but does not actually provide any toolchain files.
The NDK's side of the work provides toolchain files that are aware of exactly
what comes with the NDK.

-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


Re: [cmake-developers] Android Support

2016-09-26 Thread Bill Hoffman

On 9/26/2016 5:50 PM, David Neto via cmake-developers wrote:


I agree.  I work for Google but not in this area, and I don't know who
is doing this support.  I suspect this is just an accidental duplication
of effort.  I've pinged someone to see about finding the right person to
coordinate with.
Brad has been working with the team at Google.  He can elaborate more 
tomorrow.  Just wanted to let folks sleep easy tonight.  :)


-Bill

--

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


Re: [cmake-developers] Android Support

2016-09-26 Thread David Neto via cmake-developers
On Mon, Sep 26, 2016 at 5:23 PM Florent Castelli 
wrote:

>
> Have you tried working it out with Google? Maybe dropping your
> implementation and integrate theirs as they released it first and
> started documenting it?
>
> I just don't want to have 2 toolchains to support, that would be really
> terrible :(
>

I agree.  I work for Google but not in this area, and I don't know who is
doing this support.  I suspect this is just an accidental duplication of
effort.  I've pinged someone to see about finding the right person to
coordinate with.

david
-- 

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

Re: [cmake-developers] Android Support

2016-09-26 Thread Florent Castelli

On 12/09/2016 15:09, Brad King wrote:

On 09/09/2016 04:04 PM, Robert Dailey wrote:

Currently nightly builds are tagged 3.6.2. Are there no nightly builds
for 3.7 or am I missing something?

They are 3.6.2.$date, indicating post-3.6 feature development.
See the documentation of CMAKE_VERSION:

  https://cmake.org/cmake/help/v3.6/variable/CMAKE_VERSION.html

-Brad


Resurrecting this!

I've seen that the Android Gradle build tools now have an official CMake 
plugin that has a custom 3.6 version with a custom toolchain and Android 
platform support.

https://developer.android.com/ndk/guides/cmake.html#variables

The problem is that they have a set of configuration options for their 
toolchain that is similar to what you have, but incompatible.


Have you tried working it out with Google? Maybe dropping your 
implementation and integrate theirs as they released it first and 
started documenting it?


I just don't want to have 2 toolchains to support, that would be really 
terrible :(



/Orphis

--

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


Re: [cmake-developers] Android Support

2016-09-12 Thread Brad King
On 09/09/2016 04:04 PM, Robert Dailey wrote:
> Currently nightly builds are tagged 3.6.2. Are there no nightly builds
> for 3.7 or am I missing something?

They are 3.6.2.$date, indicating post-3.6 feature development.
See the documentation of CMAKE_VERSION:

 https://cmake.org/cmake/help/v3.6/variable/CMAKE_VERSION.html

-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


Re: [cmake-developers] Android Support

2016-09-09 Thread Robert Dailey
Currently nightly builds are tagged 3.6.2. Are there no nightly builds
for 3.7 or am I missing something?

On Fri, Aug 12, 2016 at 10:26 AM, Robert Goulet
 wrote:
> That's super awesome Brad!
>
> Looking forward to try this out!
>
> -Original Message-
> From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf 
> Of Brad King
> Sent: Friday, August 12, 2016 11:13 AM
> To: cmake-developers@cmake.org
> Subject: [cmake-developers] Android Support
>
> Hi Folks,
>
> I've implemented native support for cross-compiling to Android with CMake 
> using either an Android NDK or an Android Standalone Toolchain.
> I plan to include this in the CMake 3.7 release.
>
> Please see the MR here:
>
>   https://gitlab.kitware.com/cmake/cmake/merge_requests/62
>
> This enables building with simple toolchain files, or even without one:
>
>   $ cmake ../src -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=/path/to/ndk
>
> Note that interface compatibility with popular third-party Android toolchain 
> files is a non-goal of this work (though we should not break them too much).
> Instead I'd like to make the support feel native within CMake.  For example, 
> the Android API level is naturally specified by CMAKE_SYSTEM_VERSION.
>
> If you're interested in this support please fetch the MR branch and try it 
> out.  The Help/manual/cmake-toolchains.7.rst manual has been updated with 
> documentation about how to use this.
>
> -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
> --
>
> 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
-- 

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


Re: [cmake-developers] Android Support

2016-08-12 Thread Robert Goulet
That's super awesome Brad!

Looking forward to try this out!

-Original Message-
From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of 
Brad King
Sent: Friday, August 12, 2016 11:13 AM
To: cmake-developers@cmake.org
Subject: [cmake-developers] Android Support

Hi Folks,

I've implemented native support for cross-compiling to Android with CMake using 
either an Android NDK or an Android Standalone Toolchain.
I plan to include this in the CMake 3.7 release.

Please see the MR here:

  https://gitlab.kitware.com/cmake/cmake/merge_requests/62

This enables building with simple toolchain files, or even without one:

  $ cmake ../src -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=/path/to/ndk

Note that interface compatibility with popular third-party Android toolchain 
files is a non-goal of this work (though we should not break them too much).
Instead I'd like to make the support feel native within CMake.  For example, 
the Android API level is naturally specified by CMAKE_SYSTEM_VERSION.

If you're interested in this support please fetch the MR branch and try it out. 
 The Help/manual/cmake-toolchains.7.rst manual has been updated with 
documentation about how to use this.

-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
-- 

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