Newer
Older
Dmitriy A. Gerasimov
committed
# Core
if (CELLFRAME_MODULES MATCHES "core")
add_subdirectory(common)
endif()
# Chains
if (CELLFRAME_MODULES MATCHES "chains")
add_subdirectory(chain)
add_subdirectory(wallet)
endif()
# Distributed Hash Tables (DHT)
if (CELLFRAME_MODULES MATCHES "dht")
add_subdirectory(dht)
endif()
Dmitriy A. Gerasimov
committed
# Network
if (CELLFRAME_MODULES MATCHES "network")
add_subdirectory(mempool)
add_subdirectory(net)
Dmitriy A. Gerasimov
committed
# Stream channels
add_subdirectory(channel/chain-net)
endif()
Dmitriy A. Gerasimov
committed
# Mining
if (CELLFRAME_MODULES MATCHES "mining")
add_subdirectory(mining)
endif()
# Network services
if (CELLFRAME_MODULES MATCHES "srv")
Dmitriy A. Gerasimov
committed
endif()
# No consensus
if (CELLFRAME_MODULES MATCHES "cs-none")
add_subdirectory(type/none)
endif()
Dmitriy A. Gerasimov
committed
# Consensus type dag
Dmitriy A. Gerasimov
committed
add_subdirectory(type/dag)
endif()
# DAG PoA
if (CELLFRAME_MODULES MATCHES "cs-dag-poa")
add_subdirectory(consensus/dag-poa)
endif()
# DAG PoS
if (CELLFRAME_MODULES MATCHES "cs-dag-pos")
add_subdirectory(consensus/dag-pos)
endif()
# Consensus type blocks
if (CELLFRAME_MODULES MATCHES "cs-block-")
add_subdirectory(type/blocks)
endif()
# Block PoA
if (CELLFRAME_MODULES MATCHES "cs-block-poa")
add_subdirectory(consensus/block-poa)
endif()
# Block PoS
if (CELLFRAME_MODULES MATCHES "cs-block-pos")
add_subdirectory(consensus/block-pos)
endif()
if (CELLFRAME_MODULES MATCHES "cs-esbocs")
add_subdirectory(consensus/esbocs)
# Block PoW
if (CELLFRAME_MODULES MATCHES "cs-block-pow")
add_subdirectory(consensus/block-pow)
endif()
Dmitriy A. Gerasimov
committed
# Service App
if (CELLFRAME_MODULES MATCHES "srv-app")
add_subdirectory(service/app)
endif()
# Service App DB
if (CELLFRAME_MODULES MATCHES "srv-app-db")
add_subdirectory(service/app-db)
endif()
# Service Datum
if (CELLFRAME_MODULES MATCHES "srv-datum")
add_subdirectory(service/datum)
endif()
# Service VPN
if (CELLFRAME_MODULES MATCHES "srv-vpn")
add_subdirectory(service/vpn)
Dmitriy A. Gerasimov
committed
endif()
# Service eXchange
if (CELLFRAME_MODULES MATCHES "srv-xchange")
add_subdirectory(service/xchange)
endif()
# Service for token staking and PoS delegation
if (CELLFRAME_MODULES MATCHES "srv-stake")
add_subdirectory(service/stake)
# Service for polls and voting
if (CELLFRAME_MODULES MATCHES "srv-voting")
add_subdirectory(service/voting)
endif()
# Service for bridge
if (CELLFRAME_MODULES MATCHES "srv-bridge")
add_subdirectory(service/bridge)