12345678910111213141516171819202122232425 |
- set qmake=C:\Qt\Qt5.13.2\5.13.2\mingw73_64\bin\qmake.exe
- set make=C:/Qt/Qt5.13.2/Tools/mingw730_64/bin/mingw32-make
- set shdir=%cd%
- cd ..
- cd ..
- set modulename=%2
- set rootdir=%cd%
- set prodir=%rootdir%\%1\%2
- cd %prodir%
- set profile=%2.pro
- echo %profile%
- %qmake% %profile%
- %make% -f Makefile.Release -j8
- cd release
- copy lib%modulename%.a %rootdir%\bin
- copy %modulename%.dll %rootdir%\bin
- cd ..
- del .qmake.stash
- del Makefile
- del Makefile.Debug
- del Makefile.Release
- del %2%_resource.rc
- rd debug
- rd /s /q release
- cd %shdir%
|