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
|
2020-11-18 16:54:30 +00:00
|
|
|
Common.cpp
|
2020-11-16 11:19:52 +00:00
|
|
|
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
|
2020-12-11 16:30:06 +00:00
|
|
|
cxx20.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-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
|
2021-01-12 11:08:43 +00:00
|
|
|
Views.h
|
2018-12-17 14:00:39 +00:00
|
|
|
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})
|
2021-01-11 17:14:23 +00:00
|
|
|
target_link_libraries(solutil PUBLIC jsoncpp Boost::boost Boost::filesystem Boost::system range-v3)
|
2020-01-13 14:52:46 +00:00
|
|
|
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()
|