mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-03 17:40:13 +00:00
Updated Windows Build (markdown)
parent
c9792d0080
commit
ebb1b6e437
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ pacman -S mingw-w64-x86_64-pkg-config
|
||||||
```
|
```
|
||||||
CMake build:
|
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
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ pacman -S mingw-w64-i686-pkg-config
|
||||||
```
|
```
|
||||||
CMake build:
|
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
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ Go to directory with source, then:
|
||||||
```
|
```
|
||||||
mkdir build
|
mkdir build
|
||||||
cd 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.
|
It will create Visual Studio Solution file **xmrig.sln**. Don't forget change Debug to Release build.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue