aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/CMakeLists.txt
blob: e68ac10aaec5cbec295fbefed32951aea0e550c7 (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
25
26
27
28
29
30
31
32
33
34
35
36
set(sources
    Algorithms.h
    Assertions.h
    boost_multiprecision_number_compare_bug_workaround.hpp
    Common.h
    CommonData.cpp
    CommonData.h
    CommonIO.cpp
    CommonIO.h
    Exceptions.cpp
    Exceptions.h
    FixedHash.h
    IndentedWriter.cpp
    IndentedWriter.h
    JSON.cpp
    JSON.h
    Keccak256.cpp
    Keccak256.h
    Result.h
    StringUtils.cpp
    StringUtils.h
    SwarmHash.cpp
    SwarmHash.h
    UTF8.cpp
    UTF8.h
    vector_ref.h
    Visitor.h
    Whiskers.cpp
    Whiskers.h
)

add_library(devcore ${sources})
target_link_libraries(devcore PUBLIC jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} Threads::Threads)
target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
add_dependencies(devcore solidity_BuildInfo.h)