diff --git a/Windows-Build.md b/Windows-Build.md index 8aea708..3364819 100644 --- a/Windows-Build.md +++ b/Windows-Build.md @@ -16,7 +16,7 @@ pacman -S mingw-w64-x86_64-pkg-config ``` CMake build: ``` -cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\\gcc\libuv\x64\include" -DUV_LIBRARY="c:\\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\\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:\\gcc\libuv\x86\include" -DUV_LIBRARY="c:\\gcc\libuv\x86\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\\gcc\libmicrohttpd\x86\include" -DMHD_LIBRARY="c:\\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:\\msvc2017\libuv\x64\include" -DUV_LIBRARY="c:\\msvc2017\libuv\x64\lib\libuv.lib" -DMHD_INCLUDE_DIR="c:\\msvc2017\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\\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.