1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-16 22:37:30 +08:00

cmSyntheticTargetCache: add a struct for synthetic target caching

This commit is contained in:
Ben Boeckel
2023-02-07 17:56:56 -05:00
parent cb356b540c
commit 3dc6676ecc
2 changed files with 16 additions and 0 deletions

View File

@@ -426,6 +426,7 @@ add_library(
cmStateTypes.h
cmStringAlgorithms.cxx
cmStringAlgorithms.h
cmSyntheticTargetCache.h
cmSystemTools.cxx
cmSystemTools.h
cmTarget.cxx

View File

@@ -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 <map>
#include <string>
class cmGeneratorTarget;
struct cmSyntheticTargetCache
{
std::map<std::string, cmGeneratorTarget const*> CxxModuleTargets;
};