diff --git a/.gitignore b/.gitignore index b3a62f02..a2d24a32 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,6 @@ doc/ *.exe *.pro.user.* *.orig -coverity* cov-int* COV/ *.pdb diff --git a/build_x32.bat b/build_x32.bat new file mode 100644 index 00000000..59232025 --- /dev/null +++ b/build_x32.bat @@ -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 .. \ No newline at end of file diff --git a/build_x64.bat b/build_x64.bat new file mode 100644 index 00000000..009c42c5 --- /dev/null +++ b/build_x64.bat @@ -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 .. \ No newline at end of file diff --git a/coverity.bat b/coverity.bat new file mode 100644 index 00000000..67eb66f3 --- /dev/null +++ b/coverity.bat @@ -0,0 +1,5 @@ +@echo off +cov-configure --msvc +cov-build --dir cov-int --instrument build_x64.bat + +exit \ No newline at end of file diff --git a/coverity_setenv.bat b/coverity_setenv.bat new file mode 100644 index 00000000..b478a1ea --- /dev/null +++ b/coverity_setenv.bat @@ -0,0 +1,2 @@ +@echo off +call %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"" amd64 \ No newline at end of file