aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: 115258d83b083cbbb8ae16bf623c8e407bf8a125 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_policy(SET CMP0015 NEW)

aux_source_directory(. SRC_LIST)

include_directories(../../secp256k1/include)
link_directories(../../secp256k1)

include_directories(../../cryptopp562)
link_directories(../../cryptopp562)

include_directories(../libethereum)
link_directories(../libethereum)

add_executable(testeth ${SRC_LIST})

find_package(Threads REQUIRED)
target_link_libraries(testeth ${CMAKE_THREAD_LIBS_INIT})

target_link_libraries(testeth ethereum)
target_link_libraries(testeth cryptopp)
target_link_libraries(testeth secp256k1)
target_link_libraries(testeth gmp)
target_link_libraries(testeth boost_system)
target_link_libraries(testeth boost_filesystem)