2013-01-24 10:55:41 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
rem settings and check ---------------------------------------------------------
|
|
|
|
set NSIS_PATH=%PROGRAMFILES%\NSIS
|
|
|
|
|
|
|
|
if "%VSINSTALLDIR%" == "" goto vsenvproblem
|
|
|
|
|
|
|
|
rem create visual studio project file ------------------------------------------
|
|
|
|
cd ..
|
|
|
|
set QMAKESPEC=win32-msvc2010
|
|
|
|
qmake -tp vc
|
|
|
|
|
|
|
|
rem clean and compile solution -------------------------------------------------
|
2013-02-19 22:20:15 +01:00
|
|
|
vcexpress Jamulus.vcxproj /clean "Release|Win32"
|
|
|
|
vcexpress Jamulus.vcxproj /build "Release|Win32"
|
2013-01-24 10:55:41 +01:00
|
|
|
|
|
|
|
rem create installer -----------------------------------------------------------
|
|
|
|
cd windows
|
|
|
|
"%NSIS_PATH%\makensis.exe" installer.nsi
|
|
|
|
|
2013-02-19 22:20:15 +01:00
|
|
|
move Jamulusinstaller.exe ../deploy/Jamulus-version-installer.exe
|
2013-01-24 10:55:41 +01:00
|
|
|
|
|
|
|
goto endofskript
|
|
|
|
|
|
|
|
:vsenvproblem
|
|
|
|
echo Use the Visual Studio Command Prompt to call this skript
|
|
|
|
|
|
|
|
:endofskript
|