build.bat: use pushd/popd which makes changing dirs easier
This commit is contained in:
parent
62a01ff5b4
commit
dcba21dedd
12
build.bat
12
build.bat
|
@ -38,26 +38,26 @@ if "%1" == "all" goto cppcheck
|
|||
goto help
|
||||
|
||||
:cppcheck
|
||||
cd cli
|
||||
pushd cli
|
||||
qmake -config %TARGET% HAVE_RULES=%HAVE_RULES%
|
||||
%MAKE%
|
||||
cd ..
|
||||
popd
|
||||
if "%1" == "all" goto gui
|
||||
goto end
|
||||
|
||||
:gui
|
||||
cd gui
|
||||
pushd gui
|
||||
qmake -config %TARGET% HAVE_RULES=%HAVE_RULES%
|
||||
%MAKE%
|
||||
lrelease gui.pro
|
||||
cd ..
|
||||
popd
|
||||
goto end
|
||||
|
||||
:tests
|
||||
cd test
|
||||
pushd test
|
||||
qmake -config %TARGET% HAVE_RULES=%HAVE_RULES%
|
||||
%MAKE%
|
||||
cd ..
|
||||
popd
|
||||
goto end
|
||||
|
||||
:help
|
||||
|
|
Loading…
Reference in New Issue