Changeset View
Changeset View
Standalone View
Standalone View
src/crypto/CMakeLists.txt
# Copyright (c) 2017-2019 The Bitcoin developers | # Copyright (c) 2017-2019 The Bitcoin developers | ||||
project(crypto) | project(crypto) | ||||
# The ctaes library is a dependency for crypto | |||||
add_library(ctaes | |||||
ctaes/ctaes.c | |||||
) | |||||
# The library | # The library | ||||
add_library(crypto | add_library(crypto | ||||
aes.cpp | aes.cpp | ||||
chacha20.cpp | chacha20.cpp | ||||
hmac_sha256.cpp | hmac_sha256.cpp | ||||
hmac_sha512.cpp | hmac_sha512.cpp | ||||
ripemd160.cpp | ripemd160.cpp | ||||
sha1.cpp | sha1.cpp | ||||
sha256.cpp | sha256.cpp | ||||
sha256_sse4.cpp | sha256_sse4.cpp | ||||
sha512.cpp | sha512.cpp | ||||
siphash.cpp | siphash.cpp | ||||
) | ) | ||||
target_link_libraries(crypto ctaes) | |||||
target_include_directories(crypto | target_include_directories(crypto | ||||
PRIVATE | PRIVATE | ||||
.. | .. | ||||
PUBLIC | PUBLIC | ||||
# To access the config. | # To access the config. | ||||
${CMAKE_CURRENT_BINARY_DIR}/.. | ${CMAKE_CURRENT_BINARY_DIR}/.. | ||||
) | ) | ||||
Show All 10 Lines |