vault backup: 2024-02-23 14:24:25
This commit is contained in:
13
00. Inbox/Build xmrig with Visual Studio 2022.md
Normal file
13
00. Inbox/Build xmrig with Visual Studio 2022.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Set donation to 0
|
||||
Open `xmrig/src/donate.h`, set `kDefaultDonateLevel` to 0, and set `kMinimumDonateLevel` to 0.
|
||||
|
||||
# Build
|
||||
```bash
|
||||
git clone https://github.com/xmrig/xmrig.git
|
||||
mkdir xmrig\build && cd xmrig\build
|
||||
cmake .. -G "Visual Studio 17 2022" -A x64 -DXMRIG_DEPS=c:\xmrig-deps\msvc2019\x64
|
||||
cmake --build . --config Release
|
||||
```
|
||||
|
||||
# 參考
|
||||
- [Windows build - XMRig](https://xmrig.com/docs/miner/build/windows)
|
||||
Reference in New Issue
Block a user