# 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) # Default location is $HPX_ROOT/libs/memory/include set(memory_headers hpx/memory/intrusive_ptr.hpp hpx/memory/detail/sp_convertible.hpp hpx/memory/serialization/intrusive_ptr.hpp ) # Default location is $HPX_ROOT/libs/memory/src set(memory_sources) include(HPX_AddModule) add_hpx_module( core memory DEPRECATION_WARNINGS GLOBAL_HEADER_GEN ON EXCLUDE_FROM_GLOBAL_HEADER "hpx/memory/serialization/intrusive_ptr.hpp" SOURCES ${memory_sources} HEADERS ${memory_headers} MODULE_DEPENDENCIES hpx_config hpx_assertion hpx_serialization CMAKE_SUBDIRS examples tests )