# Copyright (c) 2020-2021 The STE||AR-Group
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

# Do not edit this file! It has been generated by the
# libs/create_module_skeleton.py script.

include(HPX_Message)

# cmake-format: off
set(_hpx_full_modules
    actions
    actions_base
    agas
    agas_base
    async_colocated
    async_distributed
    checkpoint
    checkpoint_base
    collectives
    command_line_handling
    components
    components_base
    compute
    distribution_policies
    executors_distributed
    include
    init_runtime
    lcos_distributed
    naming
    naming_base
    parcelport_gasnet
    parcelport_lci
    parcelport_mpi
    parcelport_tcp
    parcelports
    parcelset
    parcelset_base
    performance_counters
    plugin_factories
    resiliency_distributed
    runtime_components
    runtime_distributed
    segmented_algorithms
    statistics
)
# cmake-format: on

hpx_info("")
hpx_info("  Configuring libhpx modules:")

foreach(module ${_hpx_full_modules})
  # the parcelports module is handled explicitly after all other modules have
  # been processed (see HPX_ParcelPorts.cmake)
  if(NOT (${module} STREQUAL "parcelports"))
    add_subdirectory(${module})
  endif()
endforeach()

set(_hpx_full_modules
    ${_hpx_full_modules}
    PARENT_SCOPE
)
