summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorSam Freed <safreed@microsoft.com>2020-12-14 18:06:08 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-01 16:59:40 (GMT)
commit676ecf0d37cf5cfda390f52ce60babcb5da78108 (patch)
tree79129100ed585db7a91b82778166c1e1d3d6f7e5 /Source/cmCTest.h
parent4f4f2028b8e2c45eb6940d1ec5069caad9b606a2 (diff)
downloadCMake-676ecf0d37cf5cfda390f52ce60babcb5da78108.zip
CMake-676ecf0d37cf5cfda390f52ce60babcb5da78108.tar.gz
CMake-676ecf0d37cf5cfda390f52ce60babcb5da78108.tar.bz2
cmake-presets: Add build and test presets
Fixes: #21391
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index e12f8b0..4669a1c 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -461,6 +461,9 @@ public:
void SetRunCurrentScript(bool value);
private:
+ void SetPersistentOptionIfNotEmpty(const std::string& value,
+ const std::string& optionName);
+
int GenerateNotesFile(const std::string& files);
void BlockTestErrorDiagnostics();
@@ -484,6 +487,9 @@ private:
/** add a variable definition from a command line -D value */
bool AddVariableDefinition(const std::string& arg);
+ /** set command line arguments read from a test preset */
+ bool SetArgsFromPreset(const std::string& presetName, bool listPresets);
+
/** parse and process most common command line arguments */
bool HandleCommandLineArguments(size_t& i, std::vector<std::string>& args,
std::string& errormsg);