I have a working hello world cmake + built-in Android using nvidia nsight
tegra.  It uses SDL2.

Unfortunately, after I run cmake I have to manually edit the following in
my vcxproj to add SDL2:

Configuration Properties > Ant Build > Native Library Directories, Native
Library Dependencies

I found this post ( http://bit.ly/1NTgTE3 ) from May 5th (3 months 20 days
ago) describing the same issue.  Is there an ETA on this?

Since this isn't out yet, is there a work-around I can do instead?  So far
my best idea is to have cmake use add_custom_command() as a post-build step
to call a python script that edits the vcxproj file XML.

    <AntBuild>
      <AntBuildPath>[path]\build-android\android-project</AntBuildPath>

<AndroidManifestLocation>[path]\build-android\android-project\AndroidManifest.xml</AndroidManifestLocation>

<NativeLibDirectories>../../../SDL2-2.0.3/libs/armeabi-v7a</NativeLibDirectories>
      <NativeLibDependencies>SDL2</NativeLibDependencies>
    </AntBuild>

thank you
-- 

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

Reply via email to