summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePresetsFile.h
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-04-26 15:51:27 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2021-04-28 21:22:25 (GMT)
commita9b968bb9894902e2183a4aea4c23701d5666733 (patch)
treeb41ad0388074d1ea666f0e210e69ec389f3d2ff7 /Source/cmCMakePresetsFile.h
parent0eb42defc222372b660983ac46ea1266543af7e0 (diff)
downloadCMake-a9b968bb9894902e2183a4aea4c23701d5666733.zip
CMake-a9b968bb9894902e2183a4aea4c23701d5666733.tar.gz
CMake-a9b968bb9894902e2183a4aea4c23701d5666733.tar.bz2
cmake-presets: Introduce `toolchainFile` preset option
In v3 of the presets, the `--toolchain` command line argument now has a preset mapping.
Diffstat (limited to 'Source/cmCMakePresetsFile.h')
-rw-r--r--Source/cmCMakePresetsFile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCMakePresetsFile.h b/Source/cmCMakePresetsFile.h
index fc14830..7aa9b6a 100644
--- a/Source/cmCMakePresetsFile.h
+++ b/Source/cmCMakePresetsFile.h
@@ -39,6 +39,7 @@ public:
INSTALL_PREFIX_UNSUPPORTED,
INVALID_CONDITION,
CONDITION_UNSUPPORTED,
+ TOOLCHAIN_FILE_UNSUPPORTED,
};
enum class ArchToolsetStrategy
@@ -113,6 +114,7 @@ public:
cm::optional<ArchToolsetStrategy> ArchitectureStrategy;
std::string Toolset;
cm::optional<ArchToolsetStrategy> ToolsetStrategy;
+ std::string ToolchainFile;
std::string BinaryDir;
std::string InstallDir;