solidity/libdevcore/CMakeLists.txt

9 lines
417 B
CMake
Raw Normal View History

2017-08-16 12:26:19 +00:00
file(GLOB sources "*.cpp")
file(GLOB headers "*.h")
add_library(devcore ${sources} ${headers})
2017-08-22 14:37:27 +00:00
target_link_libraries(devcore PRIVATE ${Boost_FILESYSTEM_LIBRARIES} ${Boost_REGEX_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} Threads::Threads)
2017-08-16 12:26:19 +00:00
target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
2017-08-22 14:43:30 +00:00
target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
2017-08-16 12:26:19 +00:00
add_dependencies(devcore solidity_BuildInfo.h)