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