<div dir="ltr">'after copying to the correct location' <div><br></div><div>in mine the sources are 'installed' and then when I start the android packaging, it first updates local copies in lib/armeabi/ and assets ....</div>
<div><br></div><div>openCV project produces a lot of target architectures in /lib/<cpu>...</div><div><br></div><div>so really I have my normal project which builds really to normal locations (for a linux platform) with an 'install' target</div>
<div>then I have another cmake script to update/package/install/uninstall the apk </div><div>update copies from a previously known install location</div><div><br></div><div>can wrap them all in a higher level script for single-command making...</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 2:32 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">Well to be clear, the NDK libraries are compiled in eclipse after I<br>
generate eclipse makefiles in CMake. Ideally, I want the CMake script<br>
to also configure "ant" execution so that it builds java and links in<br>
the NDK libraries. You say "just use the libraries", but I'm not sure<br>
what this looks like as far as CMake script is concerned.<br>
<br>
Also I think we're using the android glue stuff in our existing<br>
project, but I'm not really sure what android glue is or if it is<br>
relevant to the CMake setup.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, May 6, 2014 at 2:45 PM, J Decker <<a href="mailto:d3ck0r@gmail.com">d3ck0r@gmail.com</a>> wrote:<br>
> If you've built the sources into libs, you can just use the lib; my sources<br>
> are much too complex of a tree for ndk to support to build as sources..<br>
><br>
> The java sources are compiled at the 'ant <debug/release' step... there is a<br>
> step before that I do that is 'android.bat update project --target<br>
> "android-14" --path' which makes a few other files from the build.xml.<br>
><br>
><br>
> On Tue, May 6, 2014 at 8:42 AM, Robert Dailey <<a href="mailto:rcdailey.lists@gmail.com">rcdailey.lists@gmail.com</a>><br>
> wrote:<br>
>><br>
>> There is also the question of how to handle the NDK sources and<br>
>> integrate them into the eclipse workspace. For example, I believe NDK<br>
>> sources must be under the 'jni' directory, but they won't be<br>
>> structured that way in the source tree. So I'm not sure if the jni<br>
>> directory is required. I realize there's some reference material out<br>
>> there but I'm not sure what to pay attention to. Would be nice to get<br>
>> some overview steps that I can read along with the reference material<br>
>> so I know the order in which to look at things, essentially.<br>
>><br>
>> On Tue, May 6, 2014 at 10:32 AM, Bill Hoffman <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>><br>
>> wrote:<br>
>> > You can look at what we did for VES:<br>
>> > <a href="http://www.kitware.com/blog/home/post/642" target="_blank">http://www.kitware.com/blog/home/post/642</a><br>
>> ><br>
>> ><br>
>> > -Bill<br>
>> ><br>
>> ><br>
>> ><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>
>> 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>
</div></div></blockquote></div><br></div>