mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 19:43:23 +08:00
cmSyntheticTargetCache: add a struct for synthetic target caching
This commit is contained in:
@@ -426,6 +426,7 @@ add_library(
|
|||||||
cmStateTypes.h
|
cmStateTypes.h
|
||||||
cmStringAlgorithms.cxx
|
cmStringAlgorithms.cxx
|
||||||
cmStringAlgorithms.h
|
cmStringAlgorithms.h
|
||||||
|
cmSyntheticTargetCache.h
|
||||||
cmSystemTools.cxx
|
cmSystemTools.cxx
|
||||||
cmSystemTools.h
|
cmSystemTools.h
|
||||||
cmTarget.cxx
|
cmTarget.cxx
|
||||||
|
15
Source/cmSyntheticTargetCache.h
Normal file
15
Source/cmSyntheticTargetCache.h
Normal 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;
|
||||||
|
};
|
Reference in New Issue
Block a user