solidity/libsolutil/CMakeLists.txt

53 lines
922 B
CMake
Raw Normal View History

set(sources
Algorithms.h
AnsiColorized.h
Assertions.h
2020-11-16 11:19:52 +00:00
Common.h
CommonData.cpp
CommonData.h
CommonIO.cpp
CommonIO.h
cxx20.h
Exceptions.cpp
Exceptions.h
2020-10-12 14:01:45 +00:00
ErrorCodes.h
FixedHash.h
FunctionSelector.h
2019-04-25 17:53:21 +00:00
IpfsHash.cpp
IpfsHash.h
JSON.cpp
JSON.h
Keccak256.cpp
Keccak256.h
2020-05-13 13:53:15 +00:00
LazyInit.h
2020-09-28 16:02:22 +00:00
LEB128.h
2021-09-16 14:33:28 +00:00
Numeric.cpp
Numeric.h
2019-04-25 17:53:21 +00:00
picosha2.h
Result.h
SetOnce.h
StackTooDeepString.h
StringUtils.cpp
StringUtils.h
SwarmHash.cpp
SwarmHash.h
TemporaryDirectory.cpp
TemporaryDirectory.h
UTF8.cpp
UTF8.h
vector_ref.h
2021-01-12 11:08:43 +00:00
Views.h
Visitor.h
Whiskers.cpp
Whiskers.h
)
2017-08-16 12:26:19 +00:00
add_library(solutil ${sources})
target_link_libraries(solutil PUBLIC jsoncpp Boost::boost Boost::filesystem Boost::system range-v3 fmt::fmt-header-only)
target_include_directories(solutil PUBLIC "${PROJECT_SOURCE_DIR}")
add_dependencies(solutil solidity_BuildInfo.h)
if(SOLC_LINK_STATIC)
target_link_libraries(solutil PUBLIC Threads::Threads)
endif()