mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
e970590675
Use imported CMake targets.
37 lines
791 B
CMake
37 lines
791 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 PUBLIC jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} Threads::Threads)
|
|
target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
|
|
target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
|
|
add_dependencies(devcore solidity_BuildInfo.h)
|