-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
echo y | rd /s dist | ||
del release.zip | ||
|
||
set QTDIR32=-DQTDIR="D:/dev/qt5/5.10.1/msvc2017" | ||
set QTDIR64=-DQTDIR="D:/dev/qt5/5.10.1/msvc2017_64" | ||
|
||
cmake %QTDIR32% -G "Visual Studio 16 2019" -A Win32 -B build_x86 -S . -DCMAKE_INSTALL_PREFIX=dist | ||
cmake --build build_x86 --config Release | ||
cmake --install build_x86 --config Release | ||
|
||
cmake %QTDIR64% -G "Visual Studio 16 2019" -A x64 -B build_x64 -S . -DCMAKE_INSTALL_PREFIX=dist | ||
cmake --build build_x64 --config Release | ||
cmake --install build_x64 --config Release | ||
|
||
cd dist | ||
cmake -E tar cf ..\release.zip --format=zip . | ||
cd .. |