On 03/04/2014 11:08 AM, Stephen Kelly wrote: > The resolution of > > http://public.kitware.com/Bug/view.php?id=14602 > > is that all projects which wish to build libraries for Android must create > their own Platform/Android.cmake file. > > The alternative is to ship such a file with cmake and to set > CMAKE_SYSTEM_NAME to Android, which correctly sets the > CMAKE_SHARED_LIBRARY_SONAME_C_FLAG. > > I don't understand why the former was chosen. Why not the latter?
No, the resolution was to create a local Platform/Linux.cmake: http://www.cmake.org/Bug/view.php?id=14602#c35199 that includes the original and overrides a couple of settings. If the CMAKE_SYSTEM_NAME is Android then all the Platform/Linux-*.cmake files need to have Platform/Android-*.cmake forwarding files created. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
