summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePresetsGraph.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-24 16:46:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-24 16:46:29 (GMT)
commit63154cbf4501e11cae281eccbbdf9eceb453dae1 (patch)
treebe8490cf000e62f532a40fb37f652f9f4e7e477e /Source/cmCMakePresetsGraph.h
parent25441f26171531ff114f3b9a6fad6ee2edc7ef29 (diff)
parent9aa7831f05e924830848822aecdb43aa7261bc11 (diff)
downloadCMake-63154cbf4501e11cae281eccbbdf9eceb453dae1.zip
CMake-63154cbf4501e11cae281eccbbdf9eceb453dae1.tar.gz
CMake-63154cbf4501e11cae281eccbbdf9eceb453dae1.tar.bz2
Merge topic 'vs-package-restore'
9aa7831f05 Presets: add resolve packages setting to build presets. b2f8f0bb87 cmGlobalVisualStudio10Generator: Auto restore NuGet packages. 193b8fca52 cmBuildOptions: Split build arguments into separate object. 6a10103493 Help: Update preset schema description for version 3 entries. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6761
Diffstat (limited to 'Source/cmCMakePresetsGraph.h')
-rw-r--r--Source/cmCMakePresetsGraph.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCMakePresetsGraph.h b/Source/cmCMakePresetsGraph.h
index 8581809..d3a5cfc 100644
--- a/Source/cmCMakePresetsGraph.h
+++ b/Source/cmCMakePresetsGraph.h
@@ -14,6 +14,8 @@
#include <cm/optional>
+enum class PackageResolveMode;
+
class cmCMakePresetsGraph
{
public:
@@ -181,6 +183,7 @@ public:
cm::optional<bool> CleanFirst;
cm::optional<bool> Verbose;
std::vector<std::string> NativeToolOptions;
+ cm::optional<PackageResolveMode> ResolvePackageReferences;
ReadFileResult VisitPresetInherit(const Preset& parent) override;
ReadFileResult VisitPresetAfterInherit(int /* version */) override;