D8173: Use readelf to find project dependencies
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Sat Oct 7 11:00:06 UTC 2017
apol created this revision.
apol added reviewers: Frameworks, Build System.
Restricted Application added projects: Frameworks, Build System.
REVISION SUMMARY
We were using a link.txt file that cmake used to generate, on newer cmake
versions it doesn't anymore.
Instead use readelf, much like androiddeployqt does, to extract the
depenencies.
Catch: It relies on having all the binaries being at the same subdirectory,
which is the default in ECM since not long ago.
TEST PLAN
Build kirigamigallery with it
REPOSITORY
R240 Extra CMake Modules
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D8173
AFFECTED FILES
tests/CMakeLists.txt
tests/ECMToolchainAndroidTest/CMakeLists.txt
tests/ECMToolchainAndroidTest/main.c
tests/ECMToolchainAndroidTest/testlinkfile/CMakeFiles/testtarget.dir/link.txt
tests/ECMToolchainAndroidTest/testlinkfile/outputfake.json
toolchain/Android.cmake
toolchain/specifydependencies.cmake
To: apol, #frameworks, #build_system
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20171007/5001bf96/attachment.html>
More information about the Kde-buildsystem
mailing list