solidity/libdevcore/CMakeLists.txt

19 lines
532 B
CMake
Raw Normal View History

set(sources
CommonData.cpp
CommonIO.cpp
Exceptions.cpp
IndentedWriter.cpp
JSON.cpp
Keccak256.cpp
StringUtils.cpp
SwarmHash.cpp
UTF8.cpp
Whiskers.cpp
)
2017-08-16 12:26:19 +00:00
add_library(devcore ${sources})
2018-04-16 10:16:04 +00:00
target_link_libraries(devcore PRIVATE jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
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)