CMakeLists.txt 437 B

12345678910111213141516
  1. aux_source_directory(. SRC_LIST)
  2. file(GLOB HEADERS "*.h")
  3. add_library(ethcore ${SRC_LIST} ${HEADERS})
  4. find_package(Dev)
  5. target_include_directories(ethcore PRIVATE ..)
  6. target_include_directories(ethcore PRIVATE ../utils)
  7. target_link_libraries(ethcore ${Dev_DEVCORE_LIBRARIES})
  8. target_link_libraries(ethcore ${Dev_DEVCRYPTO_LIBRARIES})
  9. install(TARGETS ethcore RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)