solidity/libdevcore/CMakeLists.txt
2018-12-17 15:01:02 +01:00

37 lines
801 B
CMake

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 PRIVATE jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
add_dependencies(devcore solidity_BuildInfo.h)