I’m changing cmake from ‘build library and install’ to ‘install prebuild library’.
Original is INSTALL(TARGETS ${BULD_LIB} DESTINATION lib). And before this line, build of BUILD_LIB is occur(link or add).
SET(BUILD_LIB tttrs)…
New is just INSTALL(FILES libtttrs.so DESTINATION lib) in cmake.
I checked this prebuilded libtttrs.so is work like original one. But when I use this new line instead of original cmake and do gbs build, appropriate library providing is not work.
Original build log show me ‘Provides: libtttrs.so’ It mean this build in cmake is work well.
But new one don’t show me the log and failed to build because of other dependency with the library.
cmake INSTALL(FILES instead of INSTALL(TARGETS
Hello.
I’m changing cmake from ‘build library and install’ to ‘install prebuild library’.
Original is INSTALL(TARGETS ${BULD_LIB} DESTINATION lib). And before this line, build of BUILD_LIB is occur(link or add).
SET(BUILD_LIB tttrs)…
New is just INSTALL(FILES libtttrs.so DESTINATION lib) in cmake.
I checked this prebuilded libtttrs.so is work like original one. But when I use this new line instead of original cmake and do gbs build, appropriate library providing is not work.
Original build log show me ‘Provides: libtttrs.so’ It mean this build in cmake is work well.
But new one don’t show me the log and failed to build because of other dependency with the library.
Installing: /home/abuild/rpmbuild/BUILDROOT/…/libtttrs.so
line is appear in both of cmake.
When I use this new line with tizen 3.0 & cmke version 2.6, it work.
tizen 2.4 &cmake version 2.6 is fail.
How can I provide library with INSTALL(FILES … options with prebuilded library?
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio