source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/ports/win32/msvc/build_coverity.cmd@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

File size: 1.0 KB
Line 
1@echo off
2rem Usage: pass the path to cov-build.exe (with trailing backslash, without the exe) as first parameter
3rem ATTENTION: this deletes the output folder "cov-int" and the output file "cov-int.zip" first!
4
5set devenv="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"
6if not exist %devenv% set devenv="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\vcexpress.exe"
7if not exist %devenv% set devenv="%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"
8if not exist %devenv% set devenv="%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE\vcexpress.exe"
9set covbuild=%1cov-build.exe
10set covoutput=cov-int
11set zip7="c:\Program Files\7-Zip\7z.exe"
12
13pushd %~dp0
14
15if exist %covoutput% rd /s /q %covoutput%
16if exist %covoutput%.zip del %covoutput%.zip
17
18%covbuild% --dir %covoutput% %devenv% lwip_test.sln /build Debug || goto error
19
20if exist %zip7% goto dozip
21echo error: 7zip not found at \"%zip7%
22goto error
23:dozip
24%zip7% a %covoutput%.zip %covoutput%
25:error
26popd
Note: See TracBrowser for help on using the repository browser.