Added RX switch tester

This commit is contained in:
MoneroOcean 2019-07-26 11:22:49 -07:00
parent b3c867a8ce
commit 8253b1c4f3
3 changed files with 107 additions and 0 deletions

18
misc/build.bat Normal file
View file

@ -0,0 +1,18 @@
@echo off
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
rmdir /S /Q build
del %~dp0\xmrig-%1-win64.zip
mkdir build &&^
cd build &&^
git clone https://github.com/MoneroOcean/xmrig.git &&^
git clone https://github.com/xmrig/xmrig-deps.git &&^
mkdir xmrig\build &&^
cd xmrig\build &&^
git checkout %1 &&^
cmake .. -G "Visual Studio 15 2017 Win64" -DXMRIG_DEPS=%~dp0\build\xmrig-deps\msvc2017\x64 &&^
msbuild /p:Configuration=Release xmrig.sln &&^
cd Release &&^
copy ..\..\src\config.json . &&^
7z a -tzip -mx %~dp0\xmrig-%1-win64.zip xmrig.exe config.json &&^
cd %~dp0 &&^
rmdir /S /Q build