summaryrefslogtreecommitdiff
path: root/Source/cmCMakeLanguageCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-21 13:25:13 -0400
committerBrad King <brad.king@kitware.com>2020-05-21 13:36:52 -0400
commit94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496 (patch)
treeb2dd5a73b5839d50fa6f5fb0af2c356b69815db5 /Source/cmCMakeLanguageCommand.h
parent3c5d52579b271e99475873cec953a1ecccbea585 (diff)
downloadcmake-94c1e4fdb35c01ef5ad57ed3284b20d8d7fc3496.tar.gz
cmake_language: Rename command from cmake_command
Also rename the `INVOKE` signature to `CALL`. Fixes: #20732
Diffstat (limited to 'Source/cmCMakeLanguageCommand.h')
-rw-r--r--Source/cmCMakeLanguageCommand.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/cmCMakeLanguageCommand.h b/Source/cmCMakeLanguageCommand.h
new file mode 100644
index 0000000000..73065156b0
--- /dev/null
+++ b/Source/cmCMakeLanguageCommand.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 cmCMakeLanguageCommand_h
+#define cmCMakeLanguageCommand_h
+
+#include "cmConfigure.h" // IWYU pragma: keep
+
+#include <vector>
+
+class cmExecutionStatus;
+struct cmListFileArgument;
+
+/**
+ * \brief Calls a scripted or build-in command
+ *
+ */
+bool cmCMakeLanguageCommand(std::vector<cmListFileArgument> const& args,
+ cmExecutionStatus& status);
+
+#endif