|
@ -23,6 +23,7 @@ function(createDefaultCacheConfig) |
|
|
set(JUSTTESTS OFF CACHE BOOL "Build only for tests.") |
|
|
set(JUSTTESTS OFF CACHE BOOL "Build only for tests.") |
|
|
set(SOLIDITY ON CACHE BOOL "Build the Solidity language components (requried unless HEADLESS)") |
|
|
set(SOLIDITY ON CACHE BOOL "Build the Solidity language components (requried unless HEADLESS)") |
|
|
set(USENPM OFF CACHE BOOL "Use npm to recompile ethereum.js if it was changed") |
|
|
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") |
|
|
endfunction() |
|
|
endfunction() |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -44,6 +45,10 @@ function(configureProject) |
|
|
endif () |
|
|
endif () |
|
|
endif () |
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
if (ETHASHCL) |
|
|
|
|
|
add_definitions(-DETH_ETHASHCL) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
if (EVMJIT) |
|
|
if (EVMJIT) |
|
|
add_definitions(-DETH_EVMJIT) |
|
|
add_definitions(-DETH_EVMJIT) |
|
|
endif() |
|
|
endif() |
|
@ -181,6 +186,10 @@ add_subdirectory(libdevcrypto) |
|
|
add_subdirectory(libwhisper) |
|
|
add_subdirectory(libwhisper) |
|
|
|
|
|
|
|
|
add_subdirectory(libethash) |
|
|
add_subdirectory(libethash) |
|
|
|
|
|
if (ETHASHCL) |
|
|
|
|
|
add_subdirectory(libethash-cl) |
|
|
|
|
|
endif () |
|
|
|
|
|
|
|
|
add_subdirectory(libethcore) |
|
|
add_subdirectory(libethcore) |
|
|
add_subdirectory(libevm) |
|
|
add_subdirectory(libevm) |
|
|
add_subdirectory(libethereum) |
|
|
add_subdirectory(libethereum) |
|
|