Re: [CMake] CMake Android NDK projects with Eclipse

2014-02-24 Thread Robert Dailey
Doesn't anyone have any guidance on this? Either this list is dead or I'm asking the wrong questions. However I find it hard to believe that people do not use CMake with Android NDK projects. The key piece I need to figure out is that after I define a library target using NDK, how do I setup the

Re: [CMake] CMake Android NDK projects with Eclipse

2014-02-24 Thread Aashish Chaudhary
Hi Robert, Have a look here: http://vtk.org/gitweb?p=VES.git;a=tree;f=Apps/Android;h=39d54b3559bc289c91959a8c69ff2c82d5f36133;hb=HEAD The blog I pointed you at explained it as well. - Aashish On Mon, Feb 24, 2014 at 9:08 PM, Robert Dailey rcdailey.li...@gmail.comwrote: Doesn't anyone have

Re: [CMake] CMake Android NDK projects with Eclipse

2014-02-24 Thread J Decker
This is my toolchain.. https://code.google.com/p/c-system-abstraction-component-gui/source/browse/a2_toolchain.txt # sample invokation sorta... cmake -G MinGW Makefiles -DCMAKE_BUILD_TYPE=debug -DCMAKE_TOOLCHAIN_FILE=.../a2_toolchain.txt -D__ANDROID__=1

Re: [CMake] CMake Android NDK projects with Eclipse

2014-02-20 Thread Robert Dailey
After a bit of research I found out you can create a toolchain file for Android NDK, however I'm not sure how to plug in the java files. It looks like it must be done separately after the C++ target is added, so I was hoping maybe a post-build event could tie in the logic to build the complete

Re: [CMake] CMake Android NDK projects with Eclipse

2014-02-20 Thread Aashish Chaudhary
Have a look here: http://vtk.org/gitweb?p=VES.git;a=tree;f=CMake/toolchains;h=c09a5c6933cf04fec83fe94afcea2e47afbce9e7;hb=HEAD Corresponding blog: http://www.kitware.com/blog/home/post/546 - Aashish On Thu, Feb 20, 2014 at 9:21 AM, Robert Dailey rcdailey.li...@gmail.comwrote: After a bit

Re: [CMake] CMake Android NDK projects with Eclipse

2014-02-20 Thread Robert Dailey
Thanks, this does help with the toolchain part of it (I had already seen the one you linked), however I'm concerned about actually building the APK. Do I need to just create a custom target that invokes 'ant debug' and 'ant release'? Or is there more granular control I need to have? On Thu, Feb

[CMake] CMake Android NDK projects with Eclipse

2014-02-17 Thread Robert Dailey
Using the very latest greatest CMake, is there built in support for Android NDK projects using Eclipse? I think this might involve cross compilation too. Basically it'd be nice if there was a wiki (up to date with latest CMake features) that walks through the setup process. What environment