mirror of
https://github.com/xmrig/xmrig.git
synced 2024-10-30 04:57:39 +00:00
14ef99ca67
To test: - Download https://github.com/deroproject/derosuite/releases/tag/AstroBWT - Run daemon with `--testnet` in command line In config.json: - "coin":"dero" - "url":"127.0.0.1:30306" - "daemon:"true"
36 lines
959 B
CMake
36 lines
959 B
CMake
if (WITH_ASTROBWT)
|
|
add_definitions(/DXMRIG_ALGO_ASTROBWT)
|
|
|
|
list(APPEND HEADERS_CRYPTO
|
|
src/crypto/astrobwt/AstroBWT.h
|
|
src/crypto/astrobwt/sha3.h
|
|
)
|
|
|
|
list(APPEND SOURCES_CRYPTO
|
|
src/crypto/astrobwt/AstroBWT.cpp
|
|
src/crypto/astrobwt/sha3.cpp
|
|
)
|
|
|
|
if (XMRIG_ARM)
|
|
list(APPEND HEADERS_CRYPTO
|
|
src/crypto/astrobwt/salsa20_ref/ecrypt-config.h
|
|
src/crypto/astrobwt/salsa20_ref/ecrypt-machine.h
|
|
src/crypto/astrobwt/salsa20_ref/ecrypt-portable.h
|
|
src/crypto/astrobwt/salsa20_ref/ecrypt-sync.h
|
|
)
|
|
|
|
list(APPEND SOURCES_CRYPTO
|
|
src/crypto/astrobwt/salsa20_ref/salsa20.c
|
|
)
|
|
else()
|
|
list(APPEND HEADERS_CRYPTO
|
|
src/crypto/astrobwt/Salsa20.hpp
|
|
)
|
|
|
|
list(APPEND SOURCES_CRYPTO
|
|
src/crypto/astrobwt/Salsa20.cpp
|
|
)
|
|
endif()
|
|
else()
|
|
remove_definitions(/DXMRIG_ALGO_ASTROBWT)
|
|
endif()
|