1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-23 23:02:51 -05:00

Build "src/base" as static library.

This commit is contained in:
XMRig
2021-08-30 23:06:16 +07:00
parent e1f0737a59
commit cac1e4aa5e
181 changed files with 874 additions and 591 deletions

View File

@@ -1,19 +1,14 @@
if (WITH_KAWPOW)
add_definitions(/DXMRIG_ALGO_KAWPOW)
list(APPEND HEADERS_CRYPTO
list(APPEND HEADERS
src/crypto/kawpow/KPCache.h
src/crypto/kawpow/KPHash.h
)
list(APPEND SOURCES_CRYPTO
list(APPEND SOURCES
src/crypto/kawpow/KPCache.cpp
src/crypto/kawpow/KPHash.cpp
)
add_subdirectory(src/3rdparty/libethash)
set(ETHASH_LIBRARY ethash)
else()
remove_definitions(/DXMRIG_ALGO_KAWPOW)
set(ETHASH_LIBRARY "")
add_subdirectory(src/base/3rdparty/libethash)
list(APPEND LIBS ethash)
endif()