Updated Windows Build (markdown)

xmrig 2017-10-07 16:45:17 +03:00
parent 02bca6bbaa
commit 6a3b5a8baf

@ -17,7 +17,7 @@ pacman -S mingw-w64-x86_64-pkg-config
```
CMake build:
```
cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\<path>\libuv\include" -DUV_LIBRARY="c:\<path>\libuv\.libs\libuv.a"
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"
make
```
@ -33,7 +33,7 @@ pacman -S mingw-w64-i686-pkg-config
```
CMake build:
```
cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\<path>\libuv\include" -DUV_LIBRARY="c:\<path>\libuv\.libs\libuv.a"
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"
make
```
@ -42,7 +42,7 @@ Go to directory with source, then:
```
mkdir build
cd build
cmake .. -G "Visual Studio 15 2017 Win64" -DUV_INCLUDE_DIR=c:\<path>\libuv\include -DUV_LIBRARY=c:\<path>\libuv\Release\lib\libuv.lib
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"
```
It will create Visual Studio Solution file **xmrig.sln**. Don't forget change Debug to Release build.