# 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) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(threadmanager_headers hpx/modules/threadmanager.hpp hpx/threadmanager/threadmanager_fwd.hpp ) # cmake-format: off set(threadmanager_compat_headers hpx/threadmanager.hpp => hpx/modules/threadmanager.hpp hpx/runtime/threads/threadmanager.hpp => hpx/include/threadmanager.hpp ) # cmake-format: on set(threadmanager_sources threadmanager.cpp) include(HPX_AddModule) add_hpx_module( core threadmanager GLOBAL_HEADER_GEN OFF SOURCES ${threadmanager_sources} HEADERS ${threadmanager_headers} COMPAT_HEADERS ${threadmanager_compat_headers} MODULE_DEPENDENCIES hpx_program_options hpx_resource_partitioner hpx_runtime_configuration hpx_errors hpx_logging hpx_schedulers hpx_async_combinators hpx_thread_pools hpx_io_service hpx_thread_pool_util CMAKE_SUBDIRS examples tests )