mirror of
https://github.com/radareorg/r2ghidra.git
synced 2026-11-07 12:17:57 -10:00
28 lines
474 B
Batchfile
28 lines
474 B
Batchfile
if EXIST w (
|
|
echo Building R2Ghidra Plugin
|
|
) else (
|
|
configure.bat
|
|
)
|
|
|
|
call ninja -C w -j 2 && (
|
|
echo Copying Plugin
|
|
mkdir destdir
|
|
copy w\*.dll destdir
|
|
|
|
REM echo Copying Sleigh Files
|
|
REM mkdir destdir\r2ghidra_sleigh
|
|
REM copy ghidra-native\src\Processors\*.* destdir\r2ghidra_sleigh
|
|
|
|
echo Ziping it Up
|
|
cd destdir
|
|
python -m zipfile -c r2ghidra-w64.zip core_r2ghidra.dll
|
|
dir
|
|
cd ..
|
|
exit /b 0
|
|
) || (
|
|
echo Ninja compilation has failed
|
|
exit /b 1
|
|
)
|
|
|
|
|