Add preconfigure/configure/make batch scripts for windows

This commit is contained in:
pancake committed 2021-08-25 01:10:23 +02:00
1 parent ed95ce3a1d
commit a345f073cb
4 files changed
+21

No files matched your search

+6
View File
@@ -137,6 +137,12 @@ jobs:
unzip r2.zip
mv radare2-${R2V}-w64 radare2
pwd
- name: batmake
shell: cmd
run: |
preconfigure
configure
make
- name: make
shell: cmd
run: |
+3
View File
@@ -0,0 +1,3 @@
mkdir destdir build
cd build
cmake -GNinja ..
+4
View File
@@ -0,0 +1,4 @@
cmake --build .
copy *.dll ..\destdir
cd ..\destdir
zip -r ..\r2ghidra-w64.zip *
+8
View File
@@ -0,0 +1,8 @@
set PKG_CONFIG_PATH=%CD%\radare2\lib\pkgconfig
set PATH=%CD%\radare2\bin;%PATH%
set ARCH=x64
git submodule update --init
make ghidra/ghidra/Ghidra
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64