From bfb9ebe01b578054a2ce01ef95b6b1a2de00f2e7 Mon Sep 17 00:00:00 2001 From: wargio Date: Mon, 27 Nov 2023 22:44:11 +0800 Subject: [PATCH] Add bat --- .ci-scripts/ci-build-win.bat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .ci-scripts/ci-build-win.bat diff --git a/.ci-scripts/ci-build-win.bat b/.ci-scripts/ci-build-win.bat new file mode 100644 index 0000000..dcc0554 --- /dev/null +++ b/.ci-scripts/ci-build-win.bat @@ -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" \ No newline at end of file