From b6cef9f0eb3569414c5c276cb65a4f3aad3933fe Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Thu, 4 Dec 2025 01:35:18 -0400 Subject: [PATCH 1/2] use `-DCITRON_BUILD_TYPE={Nightly,Stable}` --- get-dependencies.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/get-dependencies.sh b/get-dependencies.sh index db5f560..9cff41a 100644 --- a/get-dependencies.sh +++ b/get-dependencies.sh @@ -87,7 +87,8 @@ git clone --recursive "https://git.citron-emu.org/citron/emulator.git" ./citron mkdir ./build cd ./build - cmake .. -GNinja \ + set -- \ + -GNinja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DUSE_SYSTEM_QT=ON \ @@ -103,6 +104,14 @@ git clone --recursive "https://git.citron-emu.org/citron/emulator.git" ./citron -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DCMAKE_C_FLAGS="$ARCH_FLAGS" \ -DCMAKE_CXX_FLAGS="$ARCH_FLAGS -Wno-error -Wno-template-body -w" + + if [ "$DEVEL" = 'true']; then + set -- -DCITRON_BUILD_TYPE=Nightly + else + set -- -DCITRON_BUILD_TYPE=Stable + fi + + cmake ../ "$@" ninja sudo ninja install echo "$VERSION" >~/version From fae424570a40815be364926602a64e896da2754c Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Thu, 4 Dec 2025 01:38:14 -0400 Subject: [PATCH 2/2] oops --- get-dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-dependencies.sh b/get-dependencies.sh index 9cff41a..ee47a59 100644 --- a/get-dependencies.sh +++ b/get-dependencies.sh @@ -106,9 +106,9 @@ git clone --recursive "https://git.citron-emu.org/citron/emulator.git" ./citron -DCMAKE_CXX_FLAGS="$ARCH_FLAGS -Wno-error -Wno-template-body -w" if [ "$DEVEL" = 'true']; then - set -- -DCITRON_BUILD_TYPE=Nightly + set -- "$@" -DCITRON_BUILD_TYPE=Nightly else - set -- -DCITRON_BUILD_TYPE=Stable + set -- "$@" -DCITRON_BUILD_TYPE=Stable fi cmake ../ "$@"