-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (40 loc) · 1.34 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# NextCash Bitcoin Cash
cmake_minimum_required(VERSION 3.4.1)
# Setup SECP256K1 library
set( secp256k1_lib_src_dir secp256k1 )
set( secp256k1_lib_build_dir secp256k1/build )
add_subdirectory( ${secp256k1_lib_src_dir}
${secp256k1_lib_build_dir} )
include_directories( ../nextcash/src/base
../nextcash/src/io
../nextcash/src/crypto
../nextcash/src/dev
secp256k1/include
src
. )
add_library( bitcoin STATIC SHARED
src/base.cpp
src/block.cpp
src/bloom_filter.cpp
src/bloom_lookup.cpp
src/chain.cpp
src/daemon.cpp
src/forks.cpp
src/header.cpp
src/info.cpp
src/interpreter.cpp
src/key.cpp
src/mem_pool.cpp
src/message.cpp
src/monitor.cpp
src/node.cpp
src/output.cpp
src/outputs.cpp
src/peer.cpp
src/requests.cpp
src/transaction.cpp
bitcoin_test.cpp )
# Link NextCash and SECP256K1 libraries
target_link_libraries( bitcoin nextcash secp256k1 )
set_property( TARGET bitcoin PROPERTY CXX_STANDARD 11 )
set_property( TARGET bitcoin PROPERTY CXX_STANDARD_REQUIRED ON )