/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
Bitbucket
build.bat
74 строки
1 KB
Nukem
PROJECT: Fix "these files could not be found and will not be loaded" in batch script
07 апр 2015, 04:13
07 апр 2015, 04:13
fd92753
Код
Авторство
О чём код?
@echo off echo Saving PATH if "%OLDPATH%"=="" set OLDPATH=%PATH% if "%1"=="x32" ( call setenv.bat x32 set type=Win32 goto build ) else if "%1"=="x64" ( call setenv.bat x64 set type=x64 goto build ) else if "%1"=="coverity" ( if "%2"=="" ( echo "usage: build.bat coverity x32/x64" goto :eof ) goto coverity ) else if "%1"=="doxygen" ( goto doxygen ) else if "%1"=="chm" ( goto chm ) else ( echo "usage: build.bat x32/x64/coverity/doxygen/chm" goto :eof ) :build echo Building DBG... devenv /Rebuild "Release|%type%" x64_dbg.sln echo GUI prebuildStep cd x64_dbg_gui\Project cmd /k "prebuildStep.bat %1" 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 %1 ..\..\build\release cd .. cd .. goto restorepath :coverity call setenv.bat coverity echo Building with Coverity cov-configure --msvc cov-build --dir cov-int --instrument build.bat %2% goto restorepath :doxygen call setenv.bat doxygen doxygen goto restorepath :chm call setenv.bat chm start /w "" winchm.exe help\x64_dbg.wcp /h goto restorepath :restorepath echo Resetting PATH set PATH=%OLDPATH% set OLDPATH=