diff options
author | Sam Freed <safreed@microsoft.com> | 2020-12-14 18:06:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-01 16:59:40 (GMT) |
commit | 676ecf0d37cf5cfda390f52ce60babcb5da78108 (patch) | |
tree | 79129100ed585db7a91b82778166c1e1d3d6f7e5 /Source/cmake.h | |
parent | 4f4f2028b8e2c45eb6940d1ec5069caad9b606a2 (diff) | |
download | CMake-676ecf0d37cf5cfda390f52ce60babcb5da78108.zip CMake-676ecf0d37cf5cfda390f52ce60babcb5da78108.tar.gz CMake-676ecf0d37cf5cfda390f52ce60babcb5da78108.tar.bz2 |
cmake-presets: Add build and test presets
Fixes: #21391
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index d936f28..82e028c 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -238,7 +238,7 @@ public: bool CreateAndSetGlobalGenerator(const std::string& name, bool allowArch); #ifndef CMAKE_BOOTSTRAP - //! Print list of presets + //! Print list of configure presets void PrintPresetList(const cmCMakePresetsFile& file) const; #endif @@ -556,10 +556,10 @@ public: cmListFileBacktrace const& backtrace = cmListFileBacktrace()) const; //! run the --build option - int Build(int jobs, const std::string& dir, - const std::vector<std::string>& targets, const std::string& config, - const std::vector<std::string>& nativeOptions, bool clean, - bool verbose); + int Build(int jobs, std::string dir, std::vector<std::string> targets, + std::string config, std::vector<std::string> nativeOptions, + bool clean, bool verbose, const std::string& presetName, + bool listPresets); //! run the --open option bool Open(const std::string& dir, bool dryRun); |