# Copyright (c) 2019 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) cmake_minimum_required(VERSION 3.13 FATAL_ERROR) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # Default location is $HPX_ROOT/libs/config/include set(config_headers hpx/config.hpp hpx/config/asio.hpp hpx/config/attributes.hpp hpx/config/autolink.hpp hpx/config/branch_hints.hpp hpx/config/compiler_fence.hpp hpx/config/compiler_native_tls.hpp hpx/config/compiler_specific.hpp hpx/config/constexpr.hpp hpx/config/debug.hpp hpx/config/deprecation.hpp hpx/config/detail/compat_error_code.hpp hpx/config/emulate_deleted.hpp hpx/config/endian.hpp hpx/config/export_definitions.hpp hpx/config/forceinline.hpp hpx/config/lambda_capture.hpp hpx/config/manual_profiling.hpp hpx/config/threads_stack.hpp hpx/config/warnings_prefix.hpp hpx/config/warnings_suffix.hpp hpx/config/weak_symbol.hpp ) # Default location is $HPX_ROOT/libs/config/src set(config_sources version.cpp) include(HPX_AddModule) add_hpx_module( core config CONFIG_FILES COMPATIBILITY_HEADERS OFF # Added in 1.4.0 GLOBAL_HEADER_GEN OFF SOURCES ${config_sources} HEADERS ${config_headers} MODULE_DEPENDENCIES hpx_preprocessor DEPENDENCIES hpx_dependencies_boost CMAKE_SUBDIRS examples tests )