|
|
@ -44,6 +44,7 @@ option(NOBOOST "No use of boost macros in test functions" OFF) |
|
|
|
option(EVMJIT "Build just-in-time compiler for EVM code (requires LLVM)" OFF) |
|
|
|
option(ETHASHCL "Build in support for GPU mining via OpenCL" ON) |
|
|
|
option(JSCONSOLE "Build in javascript console" ON) |
|
|
|
option(FRONTIER "Build for Frontier network" ON) |
|
|
|
|
|
|
|
# propagates CMake configuration options to the compiler |
|
|
|
function(configureProject) |
|
|
@ -87,6 +88,10 @@ function(configureProject) |
|
|
|
add_definitions(-DNOBOOST) |
|
|
|
endif() |
|
|
|
|
|
|
|
if (FRONTIER) |
|
|
|
add_definitions(-DETH_FRONTIER) |
|
|
|
endif() |
|
|
|
|
|
|
|
add_definitions(-DETH_TRUE) |
|
|
|
endfunction() |
|
|
|
|
|
|
@ -207,6 +212,7 @@ eth_format_option(TOOLS) |
|
|
|
eth_format_option(ETHKEY) |
|
|
|
eth_format_option(ETHASHCL) |
|
|
|
eth_format_option(JSCONSOLE) |
|
|
|
eth_format_option(FRONTIER) |
|
|
|
eth_format_option_on_decent_platform(SERPENT) |
|
|
|
|
|
|
|
if (JSCONSOLE) |
|
|
@ -321,6 +327,7 @@ message("-- FATDB Full database exploring ${FATDB}") |
|
|
|
message("-- JSONRPC JSON-RPC support ${JSONRPC}") |
|
|
|
message("-- USENPM Javascript source building ${USENPM}") |
|
|
|
message("-- ROCKSDB Prefer rocksdb to leveldb ${ROCKSDB}") |
|
|
|
message("-- FRONTIER Default to the Frontier network ${FRONTIER}") |
|
|
|
message("------------------------------------------------------------- components") |
|
|
|
message("-- MINER Build miner ${MINER}") |
|
|
|
message("-- ETHKEY Build wallet tools ${ETHKEY}") |
|
|
|