Skip to content

Commit

Permalink
Runs fine in windows [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
markummitchell-tu committed Jul 7, 2016
1 parent 6bd1a20 commit ca7e98d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions dev/windows/build_msi_and_zip.bat
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,20 @@ nmake

cd "%APPVEYOR_BUILD_FOLDER%"
mkdir "%RESULTDIR%"\documentation
foreach (%%I in %QTDIRS%) {
mkdir "%RESULTDIR%\%%I"
}
if defined ENGAUGE_RELEASE for (%%I in %QTDIRS%) { copy %QTDIR%\plugins\%%I\*.dll "%RESULTDIR%\%%I" }
if defined ENGAUGE_RELEASE for (%%I in %QTLIBS%) { copy %QTDIR%\bin\%%I.dll "%RESULTDIR%" }
for %%I in (%QTDIRS%) do mkdir "%RESULTDIR%\%%I"
if defined ENGAUGE_RELEASE for %%I in (%QTDIRS%) do copy %QTDIR%\plugins\%%I\*.dll "%RESULTDIR%\%%I"
if defined ENGAUGE_RELEASE for %%I in (%QTLIBS%) do copy %QTDIR%\bin\%%I.dll "%RESULTDIR%"
if defined ENGAUGE_RELEASE del /S *d.dll
if not defined ENGAUGE_RELEASE for (%%I in %QTDIRS%) { copy %QTDIR%\plugins\%%I\*d.dll "%RESULTDIR%\%%I" }
if not defined ENGAUGE_RELEASE for (%%I in %QTLIBS%) { copy %QTDIR%\bin\%%I*d.dll "%RESULTDIR%" }
if not defined ENGAUGE_RELEASE for %%I in (%QTDIRS%) do copy %QTDIR%\plugins\%%I\*d.dll "%RESULTDIR%\%%I"
if not defined ENGAUGE_RELEASE for %%I in (%QTLIBS%) do copy %QTDIR%\bin\%%I*d.dll "%RESULTDIR%"
copy bin\engauge.exe "%RESULTDIR%"
copy log4cpp-1.1.1\lib\log4cpp.dll "%RESULTDIR%"
copy fftw-3.3.4-dll32\lib\libfftw3-3.dll "%RESULTDIR%"
copy "%APPVEYOR_BUILD_FOLDER%"\poppler-qt5\*.dll "%RESULTDIR%"
copy LICENSE "%RESULTDIR%"
cd "%APPVEYOR_BUILD_FOLDER%"\help
qcollectiongenerator engauge.qhcp -o engauge.qhc
move engauge.qch ..\"%RESULTDIR%"\documentation
move engauge.qhc ..\"%RESULTDIR%"\documentation
move engauge.qch "%RESULTDIR%"\documentation
move engauge.qhc "%RESULTDIR%"\documentation
cd ..
7z a "%RESULTDIR%.7z" "%RESULTDIR%"

0 comments on commit ca7e98d

Please sign in to comment.