Brad King wrote: > 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:
Ok. I wrote that wrong. The name of the file(s) is not really the point I was raising though. The point is that all projects must take the same or similar action in order to build shared libraries on Android. > If the CMAKE_SYSTEM_NAME is Android then all the Platform/Linux-*.cmake > files need to have Platform/Android-*.cmake forwarding files created. Any reason not to prefer this? Thanks, Steve. -- 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
