cmake_minimum_required(VERSION 2.8.9) add_library(etomiclib etomiclib.cpp) add_library(etomiccurl etomiccurl.c) add_executable(alice alice.c) add_executable(bob bob.c) include_directories("${CMAKE_SOURCE_DIR}/cpp-ethereum") target_link_libraries(etomiccurl PUBLIC curl libcrypto777) target_link_libraries(etomiclib PUBLIC ethcore devcrypto devcore etomiccurl) target_link_libraries(alice PUBLIC etomiclib) target_link_libraries(bob PUBLIC etomiclib etomiccurl)