|
|
@ -28,6 +28,7 @@ function(createDefaultCacheConfig) |
|
|
|
set(JUSTTESTS OFF CACHE BOOL "Build only for tests.") |
|
|
|
set(SOLIDITY ON CACHE BOOL "Build the Solidity language components (required unless HEADLESS)") |
|
|
|
set(SERPENT ${SERPENT_DEFAULT} CACHE BOOL "Build the Serpent language components (required unless HEADLESS)") |
|
|
|
set(SDK ON CACHE BOOL "Build the SDK components") |
|
|
|
set(USENPM OFF CACHE BOOL "Use npm to recompile ethereum.js if it was changed") |
|
|
|
set(ETHASHCL OFF CACHE BOOL "Build in support for GPU mining via OpenCL") |
|
|
|
set(PROFILING OFF CACHE BOOL "Build in support for profiling") |
|
|
@ -63,7 +64,6 @@ function(configureProject) |
|
|
|
if (HEADLESS OR JUSTTESTS) |
|
|
|
add_definitions(-DETH_HEADLESS) |
|
|
|
endif() |
|
|
|
|
|
|
|
endfunction() |
|
|
|
|
|
|
|
set(CPPETHEREUM 1) |
|
|
@ -229,6 +229,7 @@ message("-- Build only headless components HEADLESS ${HEADLESS |
|
|
|
message("-- Build only tests JUSTTESTS ${JUSTTESTS}") |
|
|
|
message("-- Build Solidity language components SOLIDITY ${SOLIDITY}") |
|
|
|
message("-- Build Serpent language components SERPENT ${SERPENT}") |
|
|
|
message("-- Build SDK components SDK ${SDK}") |
|
|
|
message("-- Build OpenCL components ETHASHCL ${ETHASHCL}") |
|
|
|
message("-- Build LLVM-based JIT EVM EVMJIT ${EVMJIT}") |
|
|
|
message("-- Build with support for JSON-RPC JSONRPC ${JSONRPC}") |
|
|
@ -260,13 +261,15 @@ add_subdirectory(libdevcore) |
|
|
|
add_subdirectory(libevmcore) |
|
|
|
add_subdirectory(liblll) |
|
|
|
|
|
|
|
if (SERPENT) |
|
|
|
add_subdirectory(libserpent) |
|
|
|
add_subdirectory(sc) |
|
|
|
endif () |
|
|
|
if (SDK) |
|
|
|
if (SERPENT) |
|
|
|
add_subdirectory(libserpent) |
|
|
|
add_subdirectory(sc) |
|
|
|
endif () |
|
|
|
|
|
|
|
if (SOLIDITY) |
|
|
|
add_subdirectory(libsolidity) |
|
|
|
if (SOLIDITY) |
|
|
|
add_subdirectory(libsolidity) |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
if (NOT JUSTTESTS) |
|
|
@ -324,7 +327,9 @@ if (NOT JUSTTESTS) |
|
|
|
# add_subdirectory(third) // reenable once not qtwebkit. |
|
|
|
endif() |
|
|
|
|
|
|
|
add_subdirectory(mix) |
|
|
|
if (SDK) |
|
|
|
add_subdirectory(mix) |
|
|
|
endif () |
|
|
|
|
|
|
|
endif() |
|
|
|
|
|
|
|