Complete rebranding of all components: - Core miner: xmrig -> miner (binary, version.h, CMakeLists.txt) - Proxy: xmrig-proxy -> miner-proxy - CUDA plugin: xmrig-cuda -> miner-cuda - Heatmap: xmrig-nonces-heatmap -> miner-nonces-heatmap - Go CLI wrapper: miner-cli -> miner-ctrl Vendored XMRig ecosystem into miner/ directory: - miner/core - XMRig CPU/GPU miner - miner/proxy - Stratum proxy - miner/cuda - NVIDIA CUDA plugin - miner/heatmap - Nonce visualization tool - miner/config - Configuration UI - miner/deps - Pre-built dependencies Updated dev fee to use project wallet with opt-out (kMinimumDonateLevel=0) Updated branding to Lethean (domain, copyright, version 0.1.0) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
48 lines
1.2 KiB
CMake
48 lines
1.2 KiB
CMake
if (WIN32)
|
|
set(XMRIG_OS_WIN ON)
|
|
elseif (APPLE)
|
|
set(XMRIG_OS_APPLE ON)
|
|
|
|
if (IOS OR CMAKE_SYSTEM_NAME STREQUAL iOS)
|
|
set(XMRIG_OS_IOS ON)
|
|
else()
|
|
set(XMRIG_OS_MACOS ON)
|
|
endif()
|
|
else()
|
|
set(XMRIG_OS_UNIX ON)
|
|
|
|
if (ANDROID OR CMAKE_SYSTEM_NAME MATCHES "Android")
|
|
set(XMRIG_OS_ANDROID ON)
|
|
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
set(XMRIG_OS_LINUX ON)
|
|
elseif(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
|
set(XMRIG_OS_FREEBSD ON)
|
|
endif()
|
|
endif()
|
|
|
|
|
|
if (XMRIG_OS_WIN)
|
|
add_definitions(/DWIN32)
|
|
add_definitions(/DXMRIG_OS_WIN)
|
|
set(EXTRA_LIBS ws2_32 psapi iphlpapi userenv)
|
|
elseif(XMRIG_OS_APPLE)
|
|
add_definitions(/DXMRIG_OS_APPLE)
|
|
|
|
if (XMRIG_OS_IOS)
|
|
add_definitions(/DXMRIG_OS_IOS)
|
|
else()
|
|
add_definitions(/DXMRIG_OS_MACOS)
|
|
endif()
|
|
elseif(XMRIG_OS_UNIX)
|
|
add_definitions(/DXMRIG_OS_UNIX)
|
|
set(EXTRA_LIBS pthread)
|
|
|
|
if (XMRIG_OS_ANDROID)
|
|
add_definitions(/DXMRIG_OS_ANDROID)
|
|
elseif (XMRIG_OS_LINUX)
|
|
add_definitions(/DXMRIG_OS_LINUX)
|
|
list(APPEND EXTRA_LIBS rt dl)
|
|
elseif (XMRIG_OS_FREEBSD)
|
|
add_definitions(/DXMRIG_OS_FREEBSD)
|
|
endif()
|
|
endif()
|