changes for using Visual Studio express and using a project file which was generated by qmake

This commit is contained in:
Volker Fischer 2013-01-24 09:55:41 +00:00
parent 60823ae544
commit 070be40117

View File

@ -1,24 +1,28 @@
@echo off
rem settings and check ---------------------------------------------------------
set NSIS_PATH=%PROGRAMFILES%\NSIS
if "%VSINSTALLDIR%" == "" goto vsenvproblem
rem clean and compile solution -------------------------------------------------
devenv llcon.sln /clean "Release|Win32"
call MocQT
devenv llcon.sln /build "Release|Win32"
rem create installer -----------------------------------------------------------
"%NSIS_PATH%\makensis.exe" installer.nsi
move llconinstaller.exe ../deploy/llcon-version-installer.exe
goto endofskript
:vsenvproblem
echo Use the Visual Studio Command Prompt to call this skript
:endofskript
@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 -------------------------------------------------
vcexpress llcon.vcxproj /clean "Release|Win32"
vcexpress llcon.vcxproj /build "Release|Win32"
rem create installer -----------------------------------------------------------
cd windows
"%NSIS_PATH%\makensis.exe" installer.nsi
move llconinstaller.exe ../deploy/llcon-version-installer.exe
goto endofskript
:vsenvproblem
echo Use the Visual Studio Command Prompt to call this skript
:endofskript