|
@ -5,20 +5,30 @@ include(ExternalProject) |
|
|
# all dependencies will be installed into this directory, separated by platform |
|
|
# all dependencies will be installed into this directory, separated by platform |
|
|
string(TOLOWER ${CMAKE_SYSTEM_NAME} _system_name) |
|
|
string(TOLOWER ${CMAKE_SYSTEM_NAME} _system_name) |
|
|
set(ETH_DEPENDENCY_INSTALL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/install/${_system_name}") |
|
|
set(ETH_DEPENDENCY_INSTALL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/install/${_system_name}") |
|
|
|
|
|
set(ETH_DEPENDENCY_SERVER "http://poc-7.ethdev.com/precompiled/${_system_name}") |
|
|
file(MAKE_DIRECTORY ${ETH_DEPENDENCY_INSTALL_DIR}/lib) |
|
|
file(MAKE_DIRECTORY ${ETH_DEPENDENCY_INSTALL_DIR}/lib) |
|
|
file(MAKE_DIRECTORY ${ETH_DEPENDENCY_INSTALL_DIR}/include) |
|
|
file(MAKE_DIRECTORY ${ETH_DEPENDENCY_INSTALL_DIR}/include) |
|
|
file(MAKE_DIRECTORY ${ETH_DEPENDENCY_INSTALL_DIR}/bin) |
|
|
file(MAKE_DIRECTORY ${ETH_DEPENDENCY_INSTALL_DIR}/bin) |
|
|
|
|
|
|
|
|
include(icu.cmake) |
|
|
if (ETH_COMPILE) |
|
|
include(jom.cmake) |
|
|
# json-rpc-cpp and its dependencies |
|
|
include(qt.cmake) |
|
|
include(compile/jsoncpp.cmake) |
|
|
include(curl.cmake) |
|
|
include(compile/argtable2.cmake) |
|
|
include(jsoncpp.cmake) |
|
|
include(compile/curl.cmake) |
|
|
include(argtable2.cmake) |
|
|
include(compile/json-rpc-cpp.cmake) |
|
|
include(json-rpc-cpp.cmake) |
|
|
|
|
|
include(cryptopp.cmake) |
|
|
# qt at its dependencies |
|
|
include(snappy.cmake) |
|
|
include(compile/icu.cmake) |
|
|
include(leveldb.cmake) |
|
|
include(compile/jom.cmake) |
|
|
|
|
|
include(compile/qt.cmake) |
|
|
|
|
|
|
|
|
|
|
|
# leveldb and its dependencies |
|
|
|
|
|
include(compile/snappy.cmake) |
|
|
|
|
|
include(compile/leveldb.cmake) |
|
|
|
|
|
|
|
|
|
|
|
else() |
|
|
|
|
|
include(precompiled/json-rpc-cpp.cmake) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
# will be re-eanbled later |
|
|
# will be re-eanbled later |
|
|
# include(miniupnpc.cmake) |
|
|
# include(miniupnpc.cmake) |
|
|