mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 12:08:50 +03:00
Move OSX deployment target to toolchain file for hunter; add codesign debug
This commit is contained in:
parent
5244952b83
commit
1fa21af38e
3 changed files with 5 additions and 2 deletions
|
@ -19,8 +19,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 \
|
||||||
-DCI_BUILD=ON \
|
-DCI_BUILD=ON
|
||||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
|
|
||||||
cmake --build build
|
cmake --build build
|
||||||
( cd build || exit
|
( cd build || exit
|
||||||
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
|
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
|
||||||
|
|
|
@ -41,6 +41,7 @@ find "build/nheko.app/Contents"|while read -r fname; do
|
||||||
done
|
done
|
||||||
|
|
||||||
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "build/nheko.app"
|
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "build/nheko.app"
|
||||||
|
codesign -vvv --deep --strict "build/nheko.app"
|
||||||
|
|
||||||
NOTARIZE_SUBMIT_LOG=$(mktemp /tmp/notarize-submit.XXXXXX)
|
NOTARIZE_SUBMIT_LOG=$(mktemp /tmp/notarize-submit.XXXXXX)
|
||||||
NOTARIZE_STATUS_LOG=$(mktemp /tmp/notarize-status.XXXXXX)
|
NOTARIZE_STATUS_LOG=$(mktemp /tmp/notarize-status.XXXXXX)
|
||||||
|
@ -52,6 +53,8 @@ trap finish EXIT
|
||||||
|
|
||||||
dmgbuild -s .ci/macos/settings.json "Nheko" nheko.dmg
|
dmgbuild -s .ci/macos/settings.json "Nheko" nheko.dmg
|
||||||
codesign -s "${APPLE_DEV_IDENTITY}" nheko.dmg
|
codesign -s "${APPLE_DEV_IDENTITY}" nheko.dmg
|
||||||
|
codesign -vvv --deep --strict nheko.dmg
|
||||||
|
|
||||||
user=$(id -nu)
|
user=$(id -nu)
|
||||||
chown "${user}" nheko.dmg
|
chown "${user}" nheko.dmg
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||||
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)
|
Loading…
Reference in a new issue