mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-12-21 05:35:54 +01:00
Make script tweaks, adjustments to doxygen config
This commit is contained in:
parent
3dbff1e401
commit
f54c8e2ccb
@ -768,7 +768,7 @@ RECURSIVE = YES
|
||||
# Note that relative paths are relative to the directory from which doxygen is
|
||||
# run.
|
||||
|
||||
EXCLUDE =
|
||||
EXCLUDE =
|
||||
|
||||
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
|
||||
# directories that are symbolic links (a Unix file system feature) are excluded
|
||||
@ -784,7 +784,7 @@ EXCLUDE_SYMLINKS = NO
|
||||
# Note that the wildcards are matched against the file with absolute path, so to
|
||||
# exclude all test directories for example use the pattern */test/*
|
||||
|
||||
EXCLUDE_PATTERNS = */bionic/* */jpeg-8/* */deps/* */zlib/* */rtld/lib*.h
|
||||
EXCLUDE_PATTERNS = */bionic/* */jpeg-8/* */deps/* */zlib/* */rtld/lib*.h */python/Include* */python/Lib/* */python/Modules/* */python/Objects/* */python/PC/* */python/Python/* */kiwi/mimikatz/*
|
||||
|
||||
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
||||
# (namespaces, classes, functions, etc.) that should be excluded from the
|
||||
|
@ -1,9 +1,20 @@
|
||||
@ECHO OFF
|
||||
|
||||
IF "%1"=="clean" GOTO CLEAN
|
||||
IF "%1"=="docs" GOTO DOCS
|
||||
|
||||
IF NOT EXIST "source\ReflectiveDLLInjection\.git" (
|
||||
ECHO Meterpreter's submodule dependencies can't be found.
|
||||
ECHO From your git console, please run:
|
||||
ECHO git submodule init
|
||||
ECHO git submodule update
|
||||
GOTO END
|
||||
)
|
||||
|
||||
SET VS_TITLE=Visual Studio 16 2019
|
||||
SET VS_VER=VS2019
|
||||
SET PTS_VER=v141_xp
|
||||
SET PSSDK_VER=19
|
||||
SET BUILD_64=Y
|
||||
SET BUILD_86=Y
|
||||
SET SNIFFER=OFF
|
||||
@ -11,8 +22,6 @@ SET DBGTRACE=OFF
|
||||
SET DBGTRACE_VERBOSE=OFF
|
||||
set DO_BUILD=Y
|
||||
|
||||
IF EXIST "..\..\..\..\pssdk\PSSDK_VC%PSSDK_VER%_LIB\_Libs\pssdk_vc%PSSDK_VER%_mt.lib" SET SNIFFER=ON
|
||||
|
||||
IF "%1" == "NOBUILD" SET DO_BUILD=N
|
||||
IF "%2" == "NOBUILD" SET DO_BUILD=N
|
||||
IF "%3" == "NOBUILD" SET DO_BUILD=N
|
||||
@ -35,6 +44,7 @@ REM If VS2013 is used, we have to stick to v121_xp
|
||||
IF "%VS_VER%" == "VS2013" (
|
||||
SET VS_TITLE=Visual Studio 12 2013
|
||||
SET PTS_VER=v120_xp
|
||||
SET PSSDK_VER=12
|
||||
)
|
||||
|
||||
IF "%1" == "x86" SET BUILD_64=N
|
||||
@ -61,28 +71,51 @@ IF "%3" == "DBGTRACE_VERBOSE" SET DBGTRACE_VERBOSE=ON
|
||||
IF "%4" == "DBGTRACE_VERBOSE" SET DBGTRACE_VERBOSE=ON
|
||||
IF "%5" == "DBGTRACE_VERBOSE" SET DBGTRACE_VERBOSE=ON
|
||||
|
||||
SET TRACE_MSG=%DBGTRACE%
|
||||
IF "%DBGTRACE_VERBOSE%" == "ON" SET TRACE_MSG=VERBOSE
|
||||
|
||||
IF EXIST "..\..\..\pssdk\PSSDK_VC%PSSDK_VER%_LIB\_Libs\pssdk_vc%PSSDK_VER%_mt.lib" SET SNIFFER=ON
|
||||
|
||||
IF "%BUILD_64%" == "Y" (
|
||||
@ECHO ====================================================================================
|
||||
@ECHO == Generating "%VS_TITLE%" w/ %PTS_VER% on x64 - TRACE "%DBGTRACE%-%DBGTRACE_VERBOSE%"
|
||||
@ECHO == Generating "%VS_TITLE%" w/ %PTS_VER% on x64 ^(Trace: %TRACE_MSG%^)
|
||||
@ECHO ====================================================================================
|
||||
cmake -G "%VS_TITLE%" -A x64 -T %PTS_VER% -S . -B build\%VS_VER%\x64 -Wno-dev -DBUILD_SNIFFER=%SNIFFER% -DDBGTRACE=%DBGTRACE% -DDBGTRACE_VERBOSE=%DBGTRACE_VERBOSE%
|
||||
cmake -G "%VS_TITLE%" -A x64 -T %PTS_VER% -S workspace -B workspace\build\%VS_VER%\x64 -Wno-dev -DBUILD_SNIFFER=%SNIFFER% -DDBGTRACE=%DBGTRACE% -DDBGTRACE_VERBOSE=%DBGTRACE_VERBOSE%
|
||||
if "%DO_BUILD%" == "Y" (
|
||||
@ECHO ====================================================================================
|
||||
@ECHO == Building "%VS_TITLE%" w/ %PTS_VER% on x64 - TRACE "%DBGTRACE%-%DBGTRACE_VERBOSE%"
|
||||
@ECHO == Building "%VS_TITLE%" w/ %PTS_VER% on x64
|
||||
@ECHO ====================================================================================
|
||||
cmake --build build\%VS_VER%\x64 --config Release --clean-first -- /p:XPDeprecationWarning=false
|
||||
cmake --build workspace\build\%VS_VER%\x64 --config Release --clean-first -- /p:XPDeprecationWarning=false
|
||||
)
|
||||
)
|
||||
|
||||
IF "%BUILD_86%" == "Y" (
|
||||
@ECHO ====================================================================================
|
||||
@ECHO == Generating "%VS_TITLE%" w/ %PTS_VER% on x86 - TRACE "%DBGTRACE%-%DBGTRACE_VERBOSE%"
|
||||
@ECHO == Generating "%VS_TITLE%" w/ %PTS_VER% on x86 ^(Trace: %TRACE_MSG%^)
|
||||
@ECHO ====================================================================================
|
||||
cmake -G "%VS_TITLE%" -A Win32 -T %PTS_VER% -S . -B build\%VS_VER%\Win32 -Wno-dev -DBUILD_SNIFFER=%SNIFFER% -DDBGTRACE=%DBGTRACE% -DDBGTRACE_VERBOSE=%DBGTRACE_VERBOSE%
|
||||
cmake -G "%VS_TITLE%" -A Win32 -T %PTS_VER% -S workspace -B workspace\build\%VS_VER%\Win32 -Wno-dev -DBUILD_SNIFFER=%SNIFFER% -DDBGTRACE=%DBGTRACE% -DDBGTRACE_VERBOSE=%DBGTRACE_VERBOSE%
|
||||
if "%DO_BUILD%" == "Y" (
|
||||
@ECHO ====================================================================================
|
||||
@ECHO == Building "%VS_TITLE%" w/ %PTS_VER% on x86 - TRACE "%DBGTRACE%-%DBGTRACE_VERBOSE%"
|
||||
@ECHO == Building "%VS_TITLE%" w/ %PTS_VER% on x86
|
||||
@ECHO ====================================================================================
|
||||
cmake --build build\%VS_VER%\Win32 --config Release --clean-first -- /p:XPDeprecationWarning=false
|
||||
cmake --build workspace\build\%VS_VER%\Win32 --config Release --clean-first -- /p:XPDeprecationWarning=false
|
||||
)
|
||||
)
|
||||
|
||||
FOR /F "usebackq tokens=1,2 delims==" %%i IN (`wmic os get LocalDateTime /VALUE 2^>NUL`) DO IF '.%%i.'=='.LocalDateTime.' SET LDT=%%j
|
||||
SET LDT=%LDT:~0,4%-%LDT:~4,2%-%LDT:~6,2% %LDT:~8,2%:%LDT:~10,2%:%LDT:~12,6%
|
||||
echo Finished %ldt%
|
||||
GOTO END
|
||||
|
||||
:CLEAN
|
||||
IF EXIST "output\" (
|
||||
del output\ /S /Q
|
||||
)
|
||||
GOTO END
|
||||
|
||||
:DOCS
|
||||
tools\doxygen\doxygen.exe doxygen.cnf
|
||||
GOTO END
|
||||
|
||||
|
||||
:END
|
Loading…
Reference in New Issue
Block a user