From e007460e0d6b67323e83f744fdb944720a02f31e Mon Sep 17 00:00:00 2001 From: Justin Shannon Date: Sat, 2 Sep 2023 09:51:20 -0600 Subject: [PATCH] Install debug and release build --- build_linux.sh | 6 +++++- build_macos.sh | 6 +++++- build_windows.ps1 | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/build_linux.sh b/build_linux.sh index 2373da1..13a34d8 100644 --- a/build_linux.sh +++ b/build_linux.sh @@ -57,7 +57,11 @@ echo "Configuring Qt build..." # Build Qt echo "Building Qt..." -cmake --build . && cmake --install . +cmake --build . + +echo "Installing Qt..." +cmake --install . --config Debug +cmake --install . --config Release # Add files to 7z archive cd install && 7z a linux * \ No newline at end of file diff --git a/build_macos.sh b/build_macos.sh index 6f9ce78..941e8ef 100644 --- a/build_macos.sh +++ b/build_macos.sh @@ -47,7 +47,11 @@ echo "Configuring Qt build..." # Build Qt echo "Building Qt..." -cmake --build . && cmake --install . +cmake --build . + +echo "Installing Qt..." +cmake --install . --config Debug +cmake --install . --config Release # Add files to 7z archive cd install && 7z a macos * \ No newline at end of file diff --git a/build_windows.ps1 b/build_windows.ps1 index 67036eb..1a3f8a8 100644 --- a/build_windows.ps1 +++ b/build_windows.ps1 @@ -56,7 +56,8 @@ Write-Output "Build Qt..." cmake --build . --parallel Write-Output "Install Qt..." -cmake --install . +cmake --install . --config Debug +cmake --install . --config Release Write-Output "Add files to 7z archive..." Set-Location install