Build "src/base" as static library.
This commit is contained in:
parent
e1f0737a59
commit
cac1e4aa5e
181 changed files with 874 additions and 591 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue