mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 10:45:50 +00:00
* Add a new operating mode to rippled called reporting mode * Add ETL mechanism for a reporting node to extract data from a p2p node * Add new gRPC methods to faciliate ETL * Use Postgres in place of SQLite in reporting mode * Add Cassandra as a nodestore option * Update logic of RPC handlers when running in reporting mode * Add ability to forward RPCs to a p2p node
69 lines
1.7 KiB
CMake
69 lines
1.7 KiB
CMake
cmake_minimum_required (VERSION 3.9.0)
|
|
|
|
if (POLICY CMP0074)
|
|
cmake_policy(SET CMP0074 NEW)
|
|
endif ()
|
|
|
|
project (rippled)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Builds/CMake")
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Builds/CMake/deps")
|
|
|
|
include (CheckCXXCompilerFlag)
|
|
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.11)
|
|
include (FetchContent)
|
|
endif ()
|
|
if (MSVC AND CMAKE_VERSION VERSION_LESS 3.12)
|
|
message (FATAL_ERROR "MSVC requires cmake 3.12 or greater for proper boost support")
|
|
endif ()
|
|
include (ExternalProject)
|
|
include (CMakeFuncs) # must come *after* ExternalProject b/c it overrides one function in EP
|
|
include (ProcessorCount)
|
|
if (target)
|
|
message (FATAL_ERROR "The target option has been removed - use native cmake options to control build")
|
|
endif ()
|
|
|
|
include(RippledSanity)
|
|
include(RippledVersion)
|
|
include(RippledSettings)
|
|
include(RippledNIH)
|
|
include(RippledRelease)
|
|
# this check has to remain in the top-level cmake
|
|
# because of the early return statement
|
|
if (packages_only)
|
|
if (NOT TARGET rpm)
|
|
message (FATAL_ERROR "packages_only requested, but targets were not created - is docker installed?")
|
|
endif()
|
|
return ()
|
|
endif ()
|
|
include(RippledCompiler)
|
|
include(RippledInterface)
|
|
|
|
###
|
|
|
|
include(deps/Boost)
|
|
include(deps/OpenSSL)
|
|
include(deps/Secp256k1)
|
|
include(deps/Ed25519-donna)
|
|
include(deps/Lz4)
|
|
include(deps/Libarchive)
|
|
include(deps/Sqlite)
|
|
include(deps/Soci)
|
|
include(deps/Snappy)
|
|
include(deps/Rocksdb)
|
|
include(deps/Nudb)
|
|
include(deps/date)
|
|
include(deps/Protobuf)
|
|
include(deps/gRPC)
|
|
include(deps/cassandra)
|
|
include(deps/Postgres)
|
|
|
|
###
|
|
|
|
include(RippledCore)
|
|
include(RippledInstall)
|
|
include(RippledCov)
|
|
include(RippledMultiConfig)
|
|
include(RippledDocs)
|
|
include(RippledValidatorKeys)
|