keepassxc/cmake
alcroito ab153a24ec Run macdeployqt only once at install time
Instead of running macdeployqt once for each extra helper binary and
plugin (plus the main run for the application itself), collect all the
binaries that should be processed and run macdeloyqt only once after
all the binaries have been installed.

This also moves the main app macdeployqt call from a POST_BUILD step
to an install(CODE) step, making increment rebuilds of the app faster.

To ensure that macdeployqt is called after all the binaries are
installed, a new post_install subdirectory is needed to
circumvent CMake's limitation regarding the default order of
installation.
CMake first runs the current directory install() calls and then it's
child subdirectory ones. Because we want macdeployqt to be the last
install() call, it needs to be done inside a subdirectory that is
added last.

Note due to a bug in macdeployqt, the deployed app inside the .dmg
file will fail to run on arm macs, due to broken code signature.
See https://bugreports.qt.io/browse/QTBUG-101696 for details.

For the final release, the release-tool should take care of proper
resigning.
2022-03-21 00:15:57 +01:00
..
CLangFormat.cmake Add tags feature 2022-01-28 16:13:49 -05:00
CodeCoverage.cmake Clean up code coverage reporting. 2021-09-28 14:15:37 +02:00
FindBotan2.cmake Improve Visual Studio and vcpkg support 2021-11-16 07:01:48 -05:00
FindMinizip.cmake KeeShare: Remove checking signed container 2021-12-14 23:23:23 -05:00
FindPCSC.cmake Implement support for Yubikeys and potential other tokens via wireless NFC using smartcard readers (Rebase) (#6895) 2021-10-01 10:39:07 -04:00
FindQREncode.cmake Add support for Microsoft Visual Studio buildchain 2021-09-19 17:16:45 -04:00
FindReadline.cmake Minor documentation and script cleanups (#6868) 2021-09-21 00:17:46 -04:00
GenerateProductVersion.cmake Cleanup CMakeFiles prior to release 2019-01-30 15:03:03 -05:00
KPXCMacDeployHelpers.cmake Run macdeployqt only once at install time 2022-03-21 00:15:57 +01:00
MakePortableZip.cmake Add powershell version of release-tool 2022-01-31 07:00:08 -05:00
VersionInfo.in Set windows EXE resource properties, resolves #329 2017-02-20 00:33:11 +01:00
VersionResource.rc Set windows EXE resource properties, resolves #329 2017-02-20 00:33:11 +01:00