CMake/SDK Tools

95 views
Skip to first unread message

Felix Homann

unread,
May 4, 2016, 5:40:12 AM5/4/16
to android-ndk
Last week I got offered a CMake package in Android Studio's SDK Tools section. I couldn't find any documentation about it, yet. As I'm using CMake in most of my Non-ANdroid projects I'd certainly welcmo the addition of CMake as a means for building native stuff for Android. Can anyone shed some light on it?

jeff shanab

unread,
May 4, 2016, 7:45:51 AM5/4/16
to andro...@googlegroups.com
CMake uses a toolchaing file to automate the project generation for cross compiled targets.

https://cmake.org/Wiki/CMake_Cross_Compiling

While I have not had an opportunity to do android this way, I have done similar arm building for security cameras.

Once I had the project building on windows and linux I added the toolchain files for arm, cris, mips, mozart and some custom Samsung chipset. I had them all building in minutes.

The work was in creating the toolchains, and that is provided, we just have to point to them.

One point, this was a library (live555) so this does NOT take into a count the various GUI differences.
ie java call native on android, objectiveC call native on IOS, etc

On Wed, May 4, 2016 at 5:40 AM, Felix Homann <showlabor....@gmail.com> wrote:
Last week I got offered a CMake package in Android Studio's SDK Tools section. I couldn't find any documentation about it, yet. As I'm using CMake in most of my Non-ANdroid projects I'd certainly welcmo the addition of CMake as a means for building native stuff for Android. Can anyone shed some light on it?

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/1a0e49b2-a1da-4569-a7a1-e85989b43d6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Felix Homann

unread,
May 4, 2016, 9:08:11 AM5/4/16
to android-ndk
First things first: Sorry for the typos in my original post. I tyr to maek it bettr ths tyme ;-)

Thanks jshanab for your response. I do know how to work with CMake. I'm wondering what the SDK CMake package is supposed to do, though. I'm hoping for some kind of integration within Android Studio.

Kind regards,
Felix
Reply all
Reply to author
Forward
0 new messages