changes for using Visual Studio express and using a project file which was generated by qmake
This commit is contained in:
parent
60823ae544
commit
070be40117
1 changed files with 28 additions and 24 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue