|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env sh |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
|
|
|
|
set -ue |
|
|
|
set -ue |
|
|
|
|
|
|
|
|
|
|
@ -6,10 +6,11 @@ set -ue |
|
|
|
#TAG=$(git tag -l --points-at HEAD) |
|
|
|
#TAG=$(git tag -l --points-at HEAD) |
|
|
|
|
|
|
|
|
|
|
|
# Add Qt binaries to path |
|
|
|
# Add Qt binaries to path |
|
|
|
PATH="${HOME}/Qt/6.5.1/macos/bin/:${PATH}" |
|
|
|
QT_BASEPATH=(${HOME}/Qt/6.*/macos/) |
|
|
|
|
|
|
|
PATH="${QT_BASEPATH}/bin/:${PATH}" |
|
|
|
export PATH |
|
|
|
export PATH |
|
|
|
|
|
|
|
|
|
|
|
CMAKE_PREFIX_PATH="${HOME}/Qt/6.5.1/macos/lib/cmake" |
|
|
|
CMAKE_PREFIX_PATH="${QT_BASEPATH}/lib/cmake" |
|
|
|
export CMAKE_PREFIX_PATH |
|
|
|
export CMAKE_PREFIX_PATH |
|
|
|
|
|
|
|
|
|
|
|
cmake -GNinja -S. -Bbuild \ |
|
|
|
cmake -GNinja -S. -Bbuild \ |
|
|
@ -19,7 +20,7 @@ cmake -GNinja -S. -Bbuild \ |
|
|
|
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \ |
|
|
|
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \ |
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \ |
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \ |
|
|
|
-DUSE_BUNDLED_OPENSSL=ON \ |
|
|
|
-DUSE_BUNDLED_OPENSSL=ON \ |
|
|
|
-DQt6_DIR=${HOME}/Qt/6.5.1/macos/lib/cmake \ |
|
|
|
-DQt6_DIR=${QT_BASEPATH}/lib/cmake \ |
|
|
|
-DCI_BUILD=ON |
|
|
|
-DCI_BUILD=ON |
|
|
|
cmake --build build |
|
|
|
cmake --build build |
|
|
|
cmake --install build |
|
|
|
cmake --install build |
|
|
|