blob: 5690adde55ae5bad6069278180ccb5a1a83755bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
REM This is an example cmd.exe batch script
REM that uses boostdep.exe to generate a
REM complete Boost dependency report.
REM It needs to be run from the Boost root.
REM git pull
REM git submodule update --init
SET BOOSTDEP=bin.v2\tools\boostdep\src\msvc-8.0\release\link-static\threading-multi\boostdep.exe
FOR /f %%i IN ('git rev-parse HEAD') DO @SET REV=%%i
FOR /f %%i IN ('git rev-parse --short HEAD') DO @SET SHREV=%%i
SET FOOTER=Generated on %DATE% %TIME% from revision %REV%
SET OUTDIR=..\report-%SHREV%
mkdir %OUTDIR%
%BOOSTDEP% --list-modules > %OUTDIR%\list-modules.txt
%BOOSTDEP% --footer "%FOOTER%" --html --module-overview > %OUTDIR%\module-overview.html
%BOOSTDEP% --footer "%FOOTER%" --html --module-levels > %OUTDIR%\module-levels.html
FOR /f %%i IN (%OUTDIR%\list-modules.txt) DO %BOOSTDEP% --title "Dependency Report for %%i" --footer "%FOOTER%" --html --primary %%i --secondary %%i --reverse %%i > %OUTDIR%\%%i.html
|