mumble/macx
Davide Beatrici 2ee48b07c0 macx/scripts: allow to specify custom source and binary directories
Our qmake project forcibly put binaries into the "release" folder, inside the repository.

With the CMake project this is not the case: the source and binary directories can even reside on different drives.

Unfortunately the binary directory was hardcoded in both "build-overlay-installer" and "osxdist.py".
As for the source directory, both scripts simply expected to be run from the repository's root.

This commit adds the "--source-dir" and "--binary-dir" options to "osxdist.py". Default values: "." and "build", respectively.

"build-overlay-installer" now expects its working directory to be the binary folder.
No options are added; they are not required because the script is executed by "osxdist.py", which takes care of setting the working directory.

Extra change: "build-overlay-installer" now uses "PlistBuddy" rather than "defaults", because the latter doesn't support reading from a file anymore in macOS Catalina (10.15).
2020-07-11 19:37:18 +02:00
..
osax macx/osax: add CMakeLists.txt 2020-07-11 19:34:50 +02:00
scripts macx/scripts: allow to specify custom source and binary directories 2020-07-11 19:37:18 +02:00
common.pri Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00
macx.pro Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00