|
|
@ -64,8 +64,6 @@ function(configureProject) |
|
|
|
endif() |
|
|
|
endfunction() |
|
|
|
|
|
|
|
set(CPPETHEREUM 1) |
|
|
|
|
|
|
|
function(createBuildInfo) |
|
|
|
# Set build platform; to be written to BuildInfo.h |
|
|
|
set(ETH_BUILD_PLATFORM "${TARGET_PLATFORM}") |
|
|
@ -118,7 +116,6 @@ macro(eth_format_option O) |
|
|
|
endmacro() |
|
|
|
|
|
|
|
# Normalise build options |
|
|
|
eth_format_option(JSONRPC) |
|
|
|
eth_format_option(ETHASHCL) |
|
|
|
eth_format_option(ETHASHCUDA) |
|
|
|
eth_format_option(ETHSTRATUM) |
|
|
@ -149,10 +146,6 @@ message("----------------------------------------------------------------------- |
|
|
|
message("-- CMake Version ${CMAKE_VERSION}") |
|
|
|
message("-- CMAKE_BUILD_TYPE Build type ${CMAKE_BUILD_TYPE}") |
|
|
|
message("-- TARGET_PLATFORM Target platform ${TARGET_PLATFORM}") |
|
|
|
message("--------------------------------------------------------------- features") |
|
|
|
message("-- Chromium support ${ETH_HAVE_WEBENGINE}") |
|
|
|
message("-- HTTP Request support ${CURL_FOUND}") |
|
|
|
message("-- JSONRPC JSON-RPC support ${JSONRPC}") |
|
|
|
message("------------------------------------------------------------- components") |
|
|
|
message("-- ETHASHCL Build OpenCL components ${ETHASHCL}") |
|
|
|
message("-- ETHASHCUDA Build CUDA components ${ETHASHCUDA}") |
|
|
@ -160,13 +153,8 @@ message("-- ETHSTRATUM Build Stratum components ${ETHSTRAT |
|
|
|
message("------------------------------------------------------------------------") |
|
|
|
message("") |
|
|
|
|
|
|
|
if (NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC") |
|
|
|
set(CMAKE_THREAD_LIBS_INIT pthread) |
|
|
|
endif() |
|
|
|
|
|
|
|
include(EthCompilerSettings) |
|
|
|
|
|
|
|
message("creating build info...") |
|
|
|
createBuildInfo() |
|
|
|
|
|
|
|
add_subdirectory(libdevcore) |
|
|
|