From 3dc6676ecc4ef8a74b057f284f123fd54e867fa4 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 7 Feb 2023 17:56:56 -0500 Subject: cmSyntheticTargetCache: add a struct for synthetic target caching --- Source/CMakeLists.txt | 1 + Source/cmSyntheticTargetCache.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Source/cmSyntheticTargetCache.h diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 67d3d8d..a8abb60 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -426,6 +426,7 @@ add_library( cmStateTypes.h cmStringAlgorithms.cxx cmStringAlgorithms.h + cmSyntheticTargetCache.h cmSystemTools.cxx cmSystemTools.h cmTarget.cxx diff --git a/Source/cmSyntheticTargetCache.h b/Source/cmSyntheticTargetCache.h new file mode 100644 index 0000000..22d1533 --- /dev/null +++ b/Source/cmSyntheticTargetCache.h @@ -0,0 +1,15 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#pragma once + +#include "cmConfigure.h" // IWYU pragma: keep + +#include +#include + +class cmGeneratorTarget; + +struct cmSyntheticTargetCache +{ + std::map CxxModuleTargets; +}; -- cgit v0.12