|
|
@ -37,7 +37,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") |
|
|
|
#defaults: |
|
|
|
set(D_CMAKE_BUILD_TYPE "Release") |
|
|
|
set(D_GUI ON) |
|
|
|
set(D_FATDB ON) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_ETHASHCUDA OFF) |
|
|
|
set(D_JSONRPC ON) |
|
|
@ -52,26 +51,21 @@ if (BUNDLE STREQUAL "minimal") |
|
|
|
set(D_GUI OFF) |
|
|
|
elseif (BUNDLE STREQUAL "full") |
|
|
|
set(D_GUI ON) |
|
|
|
set(D_FATDB ON) |
|
|
|
elseif (BUNDLE STREQUAL "cli") |
|
|
|
set(D_GUI OFF) |
|
|
|
set(D_FATDB ON) |
|
|
|
elseif (BUNDLE STREQUAL "core") |
|
|
|
set(D_GUI ON) |
|
|
|
set(D_FATDB 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_FATDB OFF) |
|
|
|
set(D_JSONRPC OFF) |
|
|
|
elseif (BUNDLE STREQUAL "miner") |
|
|
|
set(D_GUI OFF) |
|
|
|
set(D_MINER ON) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_FATDB OFF) |
|
|
|
set(D_JSONRPC ON) |
|
|
|
set(D_ETHSTRATUM ON) |
|
|
|
elseif (BUNDLE STREQUAL "cudaminer") |
|
|
@ -79,12 +73,10 @@ elseif (BUNDLE STREQUAL "cudaminer") |
|
|
|
set(D_MINER ON) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_ETHASHCUDA ON) |
|
|
|
set(D_FATDB OFF) |
|
|
|
set(D_JSONRPC ON) |
|
|
|
set(D_ETHSTRATUM ON) |
|
|
|
elseif (BUNDLE STREQUAL "release") # release builds |
|
|
|
set(D_GUI ON) |
|
|
|
set(D_FATDB OFF) |
|
|
|
set(D_ETHASHCL ON) |
|
|
|
set(D_JSONRPC ON) |
|
|
|
set(D_CMAKE_BUILD_TYPE "Release") |
|
|
@ -228,7 +220,6 @@ endmacro() |
|
|
|
# Normalise build options |
|
|
|
eth_format_option(PARANOID) |
|
|
|
eth_format_option(VMTRACE) |
|
|
|
eth_format_option(FATDB) |
|
|
|
eth_format_option(JSONRPC) |
|
|
|
eth_format_option(MINER) |
|
|
|
eth_format_option(PROFILING) |
|
|
|