summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-10-25 14:59:19 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-10-26 16:01:01 (GMT)
commit7d9aa0f00cd9f7c2ed3d0c710090e9901c4430e9 (patch)
tree22f5104cebf519b8ac3f7469d78a8cd01cdd994b /Source/cmake.h
parent322193afcdfd3d3ba5a456e5e6f64e3637091736 (diff)
downloadCMake-7d9aa0f00cd9f7c2ed3d0c710090e9901c4430e9.zip
CMake-7d9aa0f00cd9f7c2ed3d0c710090e9901c4430e9.tar.gz
CMake-7d9aa0f00cd9f7c2ed3d0c710090e9901c4430e9.tar.bz2
cmake::Workflow: Refactor to use enum class argument
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 54d0bb5..b3b9f19 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -602,7 +602,12 @@ public:
bool Open(const std::string& dir, bool dryRun);
//! run the --workflow option
- int Workflow(const std::string& presetName, bool listPresets);
+ enum class WorkflowListPresets
+ {
+ No,
+ Yes,
+ };
+ int Workflow(const std::string& presetName, WorkflowListPresets listPresets);
void UnwatchUnusedCli(const std::string& var);
void WatchUnusedCli(const std::string& var);