solidity/libdevcore/CMakeLists.txt

40 lines
790 B
CMake
Raw Normal View History

set(sources
Algorithms.h
AnsiColorized.h
Assertions.h
Common.h
CommonData.cpp
CommonData.h
CommonIO.cpp
CommonIO.h
Exceptions.cpp
Exceptions.h
FixedHash.h
IndentedWriter.cpp
IndentedWriter.h
2019-04-25 17:53:21 +00:00
IpfsHash.cpp
IpfsHash.h
JSON.cpp
JSON.h
Keccak256.cpp
Keccak256.h
2019-04-25 17:53:21 +00:00
picosha2.h
Result.h
StringUtils.cpp
StringUtils.h
SwarmHash.cpp
SwarmHash.h
UTF8.cpp
UTF8.h
vector_ref.h
Visitor.h
Whiskers.cpp
Whiskers.h
)
2017-08-16 12:26:19 +00:00
add_library(devcore ${sources})
2018-12-17 12:42:48 +00:00
target_link_libraries(devcore PUBLIC jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} Threads::Threads)
2017-08-22 14:43:30 +00:00
target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
2018-04-16 10:16:04 +00:00
target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
2017-08-16 12:26:19 +00:00
add_dependencies(devcore solidity_BuildInfo.h)