2018-11-23 13:21:17 +00:00
|
|
|
set(sources
|
2018-12-17 14:00:39 +00:00
|
|
|
Algorithms.h
|
2019-02-01 14:39:18 +00:00
|
|
|
AnsiColorized.h
|
2018-12-17 14:00:39 +00:00
|
|
|
Assertions.h
|
|
|
|
Common.h
|
2018-11-23 13:21:17 +00:00
|
|
|
CommonData.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
CommonData.h
|
2018-11-23 13:21:17 +00:00
|
|
|
CommonIO.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
CommonIO.h
|
2018-11-23 13:21:17 +00:00
|
|
|
Exceptions.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
Exceptions.h
|
2020-10-12 14:01:45 +00:00
|
|
|
ErrorCodes.h
|
2018-12-17 14:00:39 +00:00
|
|
|
FixedHash.h
|
2020-10-12 14:36:48 +00:00
|
|
|
FunctionSelector.h
|
2018-11-23 13:21:17 +00:00
|
|
|
IndentedWriter.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
IndentedWriter.h
|
2019-05-27 18:27:06 +00:00
|
|
|
InvertibleMap.h
|
2019-04-25 17:53:21 +00:00
|
|
|
IpfsHash.cpp
|
|
|
|
IpfsHash.h
|
2018-11-23 13:21:17 +00:00
|
|
|
JSON.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
JSON.h
|
2018-11-23 13:21:17 +00:00
|
|
|
Keccak256.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
Keccak256.h
|
2020-05-13 13:53:15 +00:00
|
|
|
LazyInit.h
|
2020-09-28 16:02:22 +00:00
|
|
|
LEB128.h
|
2019-04-25 17:53:21 +00:00
|
|
|
picosha2.h
|
2018-12-17 14:00:39 +00:00
|
|
|
Result.h
|
2020-04-08 17:38:30 +00:00
|
|
|
SetOnce.h
|
2018-11-23 13:21:17 +00:00
|
|
|
StringUtils.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
StringUtils.h
|
2018-11-23 13:21:17 +00:00
|
|
|
SwarmHash.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
SwarmHash.h
|
2018-11-23 13:21:17 +00:00
|
|
|
UTF8.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
UTF8.h
|
|
|
|
vector_ref.h
|
|
|
|
Visitor.h
|
2018-11-23 13:21:17 +00:00
|
|
|
Whiskers.cpp
|
2018-12-17 14:00:39 +00:00
|
|
|
Whiskers.h
|
2018-11-23 13:21:17 +00:00
|
|
|
)
|
2017-08-16 12:26:19 +00:00
|
|
|
|
2020-01-13 14:52:46 +00:00
|
|
|
add_library(solutil ${sources})
|
|
|
|
target_link_libraries(solutil PUBLIC jsoncpp Boost::boost Boost::filesystem Boost::system)
|
|
|
|
target_include_directories(solutil PUBLIC "${CMAKE_SOURCE_DIR}")
|
|
|
|
add_dependencies(solutil solidity_BuildInfo.h)
|
2019-10-01 22:30:38 +00:00
|
|
|
|
|
|
|
if(SOLC_LINK_STATIC)
|
2020-01-13 14:52:46 +00:00
|
|
|
target_link_libraries(solutil PUBLIC Threads::Threads)
|
2019-10-01 22:30:38 +00:00
|
|
|
endif()
|