summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakeCommand.h
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-01-26 17:31:48 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-25 18:14:17 (GMT)
commit54e4f2ad455817bed165fa1cb3682acbd93a8a1a (patch)
treed522b01b4b3a8f425e4a76c3eaf54a0528634877 /Source/cmCMakeCommand.h
parent3276f85fd774035221d00b291bfe0c624f6a4831 (diff)
downloadCMake-54e4f2ad455817bed165fa1cb3682acbd93a8a1a.zip
CMake-54e4f2ad455817bed165fa1cb3682acbd93a8a1a.tar.gz
CMake-54e4f2ad455817bed165fa1cb3682acbd93a8a1a.tar.bz2
cmake_command: Add command to INVOKE other commands by name
Fixes: #18392
Diffstat (limited to 'Source/cmCMakeCommand.h')
-rw-r--r--Source/cmCMakeCommand.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/cmCMakeCommand.h b/Source/cmCMakeCommand.h
new file mode 100644
index 0000000..cf9f4c3
--- /dev/null
+++ b/Source/cmCMakeCommand.h
@@ -0,0 +1,20 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#ifndef cmCMakeCommand_h
+#define cmCMakeCommand_h
+
+#include "cmConfigure.h" // IWYU pragma: keep
+
+#include <string>
+#include <vector>
+
+class cmExecutionStatus;
+
+/**
+ * \brief Calls a scripted or build-in command
+ *
+ */
+bool cmCMakeCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
+
+#endif