Updated Windows Build (markdown)

xmrig 2018-03-15 00:11:16 +07:00
parent c9792d0080
commit ebb1b6e437

@ -16,7 +16,7 @@ pacman -S mingw-w64-x86_64-pkg-config
```
CMake build:
```
cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\<path>\gcc\libuv\x64\include" -DUV_LIBRARY="c:\<path>\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\<path>\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\<path>\gcc\libmicrohttpd\x64\lib\libmicrohttpd.a"
cmake .. -G "Unix Makefiles" -DXMRIG_DEPS=c:/xmrig-deps/gcc/x64
make
```
@ -32,7 +32,7 @@ pacman -S mingw-w64-i686-pkg-config
```
CMake build:
```
cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\<path>\gcc\libuv\x86\include" -DUV_LIBRARY="c:\<path>\gcc\libuv\x86\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\<path>\gcc\libmicrohttpd\x86\include" -DMHD_LIBRARY="c:\<path>\gcc\libmicrohttpd\x86\lib\libmicrohttpd.a"
cmake .. -G "Unix Makefiles" -DXMRIG_DEPS=c:/xmrig-deps/gcc/x86
make
```
@ -41,7 +41,7 @@ Go to directory with source, then:
```
mkdir build
cd build
cmake .. -G "Visual Studio 15 2017 Win64" -DUV_INCLUDE_DIR="c:\<path>\msvc2017\libuv\x64\include" -DUV_LIBRARY="c:\<path>\msvc2017\libuv\x64\lib\libuv.lib" -DMHD_INCLUDE_DIR="c:\<path>\msvc2017\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\<path>\msvc2017\libmicrohttpd\x64\lib\libmicrohttpd.lib"
cmake .. -G "Visual Studio 15 2017 Win64" -DXMRIG_DEPS=c:\xmrig-deps\msvc2017\x64
```
It will create Visual Studio Solution file **xmrig.sln**. Don't forget change Debug to Release build.