|
|
@ -36,7 +36,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") |
|
|
|
|
|
|
|
#defaults: |
|
|
|
set(D_CMAKE_BUILD_TYPE "Release") |
|
|
|
set(D_GUI ON) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_ETHASHCUDA OFF) |
|
|
|
set(D_JSONRPC ON) |
|
|
@ -47,41 +46,6 @@ set(D_OLYMPIC OFF) |
|
|
|
set(D_MINER ON) |
|
|
|
set(D_ETHSTRATUM OFF) |
|
|
|
|
|
|
|
if (BUNDLE STREQUAL "minimal") |
|
|
|
set(D_GUI OFF) |
|
|
|
elseif (BUNDLE STREQUAL "full") |
|
|
|
set(D_GUI ON) |
|
|
|
elseif (BUNDLE STREQUAL "cli") |
|
|
|
set(D_GUI OFF) |
|
|
|
elseif (BUNDLE STREQUAL "core") |
|
|
|
set(D_GUI ON) |
|
|
|
elseif (BUNDLE STREQUAL "user") |
|
|
|
set(D_GUI ON) |
|
|
|
elseif (BUNDLE STREQUAL "wallet") |
|
|
|
set(D_GUI OFF) |
|
|
|
set(D_MINER OFF) |
|
|
|
set(D_ETHASHCL OFF) |
|
|
|
set(D_JSONRPC OFF) |
|
|
|
elseif (BUNDLE STREQUAL "miner") |
|
|
|
set(D_GUI OFF) |
|
|
|
set(D_MINER ON) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_JSONRPC ON) |
|
|
|
set(D_ETHSTRATUM ON) |
|
|
|
elseif (BUNDLE STREQUAL "cudaminer") |
|
|
|
set(D_GUI OFF) |
|
|
|
set(D_MINER ON) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_ETHASHCUDA ON) |
|
|
|
set(D_JSONRPC ON) |
|
|
|
set(D_ETHSTRATUM ON) |
|
|
|
elseif (BUNDLE STREQUAL "release") # release builds |
|
|
|
set(D_GUI ON) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_JSONRPC ON) |
|
|
|
set(D_CMAKE_BUILD_TYPE "Release") |
|
|
|
endif () |
|
|
|
|
|
|
|
if ("${CMAKE_BUILD_TYPE}" STREQUAL "") |
|
|
|
set(CMAKE_BUILD_TYPE ${D_CMAKE_BUILD_TYPE}) |
|
|
|
endif () |
|
|
@ -223,7 +187,6 @@ eth_format_option(VMTRACE) |
|
|
|
eth_format_option(JSONRPC) |
|
|
|
eth_format_option(MINER) |
|
|
|
eth_format_option(PROFILING) |
|
|
|
eth_format_option(GUI) |
|
|
|
eth_format_option(ETHASHCL) |
|
|
|
eth_format_option(ETHASHCUDA) |
|
|
|
eth_format_option(OLYMPIC) |
|
|
@ -251,7 +214,6 @@ message("----------------------------------------------------------------------- |
|
|
|
message("-- CMake Version ${CMAKE_VERSION}") |
|
|
|
message("-- CMAKE_BUILD_TYPE Build type ${CMAKE_BUILD_TYPE}") |
|
|
|
message("-- TARGET_PLATFORM Target platform ${TARGET_PLATFORM}") |
|
|
|
message("-- BUNDLE Build bundle ${BUNDLE}") |
|
|
|
message("--------------------------------------------------------------- features") |
|
|
|
message("-- Chromium support ${ETH_HAVE_WEBENGINE}") |
|
|
|
message("-- Hardware identification support ${CPUID_FOUND}") |
|
|
@ -263,7 +225,6 @@ message("-- JSONRPC JSON-RPC support ${JSONRPC} |
|
|
|
message("-- OLYMPIC Default to the Olympic network ${OLYMPIC}") |
|
|
|
message("------------------------------------------------------------- components") |
|
|
|
message("-- MINER Build miner ${MINER}") |
|
|
|
message("-- GUI Build GUI components ${GUI}") |
|
|
|
message("-- ETHASHCL Build OpenCL components ${ETHASHCL}") |
|
|
|
message("-- ETHASHCUDA Build CUDA components ${ETHASHCUDA}") |
|
|
|
message("-- ETHSTRATUM Build Stratum components ${ETHSTRATUM}") |
|
|
|