Created
February 23, 2016 07:44
-
-
Save shaan7/3dc3c2eb8c297e5561c0 to your computer and use it in GitHub Desktop.
Build script for Qt-based App using Visual Studio 12.0
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
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86 | |
set QT_PATH=C:\Qt | |
set QT_TOOLS_PATH=%QT_PATH%\Tools | |
set QT_MSVC_PATH=%QT_PATH%\5.5\msvc2013 | |
set QT_MSVC_BIN=%QT_MSVC_PATH%\bin | |
set PATH=%PATH%;%QT_MSVC_BIN% | |
echo Building | |
%QT_MSVC_BIN%\qmake CONFIG+="release" || exit /b | |
%QT_TOOLS_PATH%\QtCreator\bin\jom.exe || exit /b | |
cd release || exit /b | |
del *.obj *.cpp || exit /b | |
%QT_MSVC_BIN%\windeployqt --release --qmldir %QT_MSVC_PATH%\qml -quickparticles SoStronk.exe || exit /b | |
xcopy /e /y %QT_MSVC_PATH%\qml\QtGraphicalEffects QtGraphicalEffects\ || exit /b | |
xcopy /e /y %QT_MSVC_PATH%\qml\QtQuick\Particles.2 QtQuick\Particles.2\ || exit /b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment