Skip to content

Commit

Permalink
Add bat
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Nov 27, 2023
1 parent f89c00f commit bfb9ebe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .ci-scripts/ci-build-win.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
echo off
set ARCH="%1"
set PKG_CONFIG_PATH=%CD%\..\rizin\lib\pkgconfig
set CFLAGS="-I%CD%\..\rizin\include\librz -I%CD%\..\rizin\include\librz\sdb"
set LDFLAGS=-L%CD%\..\rizin\lib
set PATH=%CD%\..\rizin\bin;%PATH%
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" "%ARCH%"
meson --buildtype=release --prefix="%CD%\..\rizin" build || exit /b 666
ninja -C build install || exit /b 666
rizin.exe -e log.level=2 -Qc "Lc"
rizin.exe -Qc "af ; pdd" "%CD%\..\rizin\bin\rizin.exe"

0 comments on commit bfb9ebe

Please sign in to comment.