<div dir="ltr">Hi Robert, <div><br></div><div>Have a look here: <a href="http://vtk.org/gitweb?p=VES.git;a=tree;f=Apps/Android;h=39d54b3559bc289c91959a8c69ff2c82d5f36133;hb=HEAD">http://vtk.org/gitweb?p=VES.git;a=tree;f=Apps/Android;h=39d54b3559bc289c91959a8c69ff2c82d5f36133;hb=HEAD</a></div>
<div><br></div><div>The blog I pointed you at explained it as well. </div><div><br></div><div>- Aashish</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 9:08 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey.lists@gmail.com" target="_blank">rcdailey.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Doesn't anyone have any guidance on this? Either this list is dead or<br>
I'm asking the wrong questions. However I find it hard to believe that<br>
people do not use CMake with Android NDK projects.<br>
<br>
The key piece I need to figure out is that after I define a library<br>
target using NDK, how do I setup the java package stuff as a post<br>
build even or custom target?<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Feb 20, 2014 at 10:04 PM, Robert Dailey<br>
<<a href="mailto:rcdailey.lists@gmail.com">rcdailey.lists@gmail.com</a>> wrote:<br>
> Thanks, this does help with the toolchain part of it (I had already<br>
> seen the one you linked), however I'm concerned about actually<br>
> building the APK. Do I need to just create a custom target that<br>
> invokes 'ant debug' and 'ant release'? Or is there more granular<br>
> control I need to have?<br>
><br>
> On Thu, Feb 20, 2014 at 12:58 PM, Aashish Chaudhary<br>
> <<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>> wrote:<br>
>> Have a look here:<br>
>><br>
>> <a href="http://vtk.org/gitweb?p=VES.git;a=tree;f=CMake/toolchains;h=c09a5c6933cf04fec83fe94afcea2e47afbce9e7;hb=HEAD" target="_blank">http://vtk.org/gitweb?p=VES.git;a=tree;f=CMake/toolchains;h=c09a5c6933cf04fec83fe94afcea2e47afbce9e7;hb=HEAD</a><br>
>><br>
>> Corresponding blog: <a href="http://www.kitware.com/blog/home/post/546" target="_blank">http://www.kitware.com/blog/home/post/546</a><br>
>><br>
>> - Aashish<br>
>><br>
>><br>
>><br>
>> On Thu, Feb 20, 2014 at 9:21 AM, Robert Dailey <<a href="mailto:rcdailey.lists@gmail.com">rcdailey.lists@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> After a bit of research I found out you can create a toolchain file<br>
>>> for Android NDK, however I'm not sure how to plug in the java files.<br>
>>> It looks like it must be done separately after the C++ target is<br>
>>> added, so I was hoping maybe a post-build event could tie in the logic<br>
>>> to build the complete package. Any tips on how to do this? I'm sure<br>
>>> someone here has done it before... Information on the web seems<br>
>>> limited.<br>
>>><br>
>>> On Mon, Feb 17, 2014 at 10:29 AM, Robert Dailey<br>
>>> <<a href="mailto:rcdailey.lists@gmail.com">rcdailey.lists@gmail.com</a>> wrote:<br>
>>> > Using the very latest & greatest CMake, is there built in support for<br>
>>> > Android NDK projects using Eclipse? I think this might involve cross<br>
>>> > compilation too.<br>
>>> ><br>
>>> > Basically it'd be nice if there was a wiki (up to date with latest<br>
>>> > CMake features) that walks through the setup process. What environment<br>
>>> > variables to set, what specialized CMake script logic must be setup<br>
>>> > per platform (host machine), how to properly include java files into<br>
>>> > those projects, etc etc...<br>
>>> ><br>
>>> > Any walkthroughs on this?<br>
>>> --<br>
>>><br>
>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Please keep messages on-topic and check the CMake FAQ at:<br>
>>> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
>>><br>
>>> Kitware offers various services to support the CMake community. For more<br>
>>> information on each offering, please visit:<br>
>>><br>
>>> CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
>>> CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
>>> CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
>>><br>
>>> Visit other Kitware open-source projects at<br>
>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> | Aashish Chaudhary<br>
>> | R&D Engineer<br>
>> | Kitware Inc.<br>
>> | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a>
</div>