1
0
Fork 0

batch files for building (don't try this at home)

This commit is contained in:
Mr. eXoDia 2015-04-06 01:20:41 +02:00
parent e38619b2b1
commit cc307ec395
5 changed files with 63 additions and 1 deletions

1
.gitignore vendored
View File

@ -29,7 +29,6 @@ doc/
*.exe
*.pro.user.*
*.orig
coverity*
cov-int*
COV/
*.pdb

28
build_x32.bat Normal file
View File

@ -0,0 +1,28 @@
@echo off
echo Setting Qt in PATH
set PATH=%PATH%;c:\Qt\qt-4.8.6-x86-msvc2013\qt-4.8.6-x86-msvc2013\bin
set PATH=%PATH%;c:\Qt\qtcreator-3.1.1\bin
CALL "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
echo Building DBG...
devenv /Rebuild "Release|Win32" x64_dbg.sln
echo GUI prebuildStep
cd x64_dbg_gui\Project
cmd /k "prebuildStep.bat x32"
cd ..
cd ..
echo Building GUI...
rmdir /S /Q build
mkdir build
cd build
qmake ..\x64_dbg_gui\Project\x64_dbg.pro CONFIG+=release
jom
cd ..
echo GUI afterbuildStep
cd x64_dbg_gui\Project
call afterbuildStep.bat x32 ..\..\build\release
cd ..
cd ..

28
build_x64.bat Normal file
View File

@ -0,0 +1,28 @@
@echo off
echo Setting Qt in PATH
set PATH=%PATH%;c:\Qt\qt-4.8.6-x64-msvc2013\qt-4.8.6-x64-msvc2013\bin
set PATH=%PATH%;c:\Qt\qtcreator-3.1.1\bin
CALL "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
echo Building DBG...
devenv /Rebuild "Release|x64" x64_dbg.sln
echo GUI prebuildStep
cd x64_dbg_gui\Project
cmd /k "prebuildStep.bat x64"
cd ..
cd ..
echo Building GUI...
rmdir /S /Q build
mkdir build
cd build
qmake ..\x64_dbg_gui\Project\x64_dbg.pro CONFIG+=release
jom
cd ..
echo GUI afterbuildStep
cd x64_dbg_gui\Project
call afterbuildStep.bat x64 ..\..\build\release
cd ..
cd ..

5
coverity.bat Normal file
View File

@ -0,0 +1,5 @@
@echo off
cov-configure --msvc
cov-build --dir cov-int --instrument build_x64.bat
exit

2
coverity_setenv.bat Normal file
View File

@ -0,0 +1,2 @@
@echo off
call %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"" amd64