Browse Source

Preliminary ethash-cl support.

cl-refactor
Gav Wood 10 years ago
parent
commit
4b850df4c9
  1. 9
      CMakeLists.txt

9
CMakeLists.txt

@ -23,6 +23,7 @@ function(createDefaultCacheConfig)
set(JUSTTESTS OFF CACHE BOOL "Build only for tests.")
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(ETHASHCL OFF CACHE BOOL "Build in support for GPU mining via OpenCL")
endfunction()
@ -44,6 +45,10 @@ function(configureProject)
endif ()
endif ()
if (ETHASHCL)
add_definitions(-DETH_ETHASHCL)
endif()
if (EVMJIT)
add_definitions(-DETH_EVMJIT)
endif()
@ -181,6 +186,10 @@ add_subdirectory(libdevcrypto)
add_subdirectory(libwhisper)
add_subdirectory(libethash)
if (ETHASHCL)
add_subdirectory(libethash-cl)
endif ()
add_subdirectory(libethcore)
add_subdirectory(libevm)
add_subdirectory(libethereum)

Loading…
Cancel
Save