cmake_command: Add command to INVOKE other commands by name

Fixes: #18392
This commit is contained in:
Cristian Adam
2020-01-26 18:31:48 +01:00
committed by Brad King
parent 3276f85fd7
commit 54e4f2ad45
29 changed files with 164 additions and 0 deletions
+20
View File
@@ -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