diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-01-26 17:31:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-25 18:14:17 (GMT) |
commit | 54e4f2ad455817bed165fa1cb3682acbd93a8a1a (patch) | |
tree | d522b01b4b3a8f425e4a76c3eaf54a0528634877 /Source/cmCommands.cxx | |
parent | 3276f85fd774035221d00b291bfe0c624f6a4831 (diff) | |
download | CMake-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/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 896b6a9..28b4267 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -91,6 +91,7 @@ # include "cmAddLinkOptionsCommand.h" # include "cmAuxSourceDirectoryCommand.h" # include "cmBuildNameCommand.h" +# include "cmCMakeCommand.h" # include "cmCMakeHostSystemInformationCommand.h" # include "cmExportCommand.h" # include "cmExportLibraryDependenciesCommand.h" @@ -196,6 +197,7 @@ void GetScriptingCommands(cmState* state) "match the opening WHILE command."); #if !defined(CMAKE_BOOTSTRAP) + state->AddBuiltinCommand("cmake_command", cmCMakeCommand); state->AddBuiltinCommand("cmake_host_system_information", cmCMakeHostSystemInformationCommand); state->AddBuiltinCommand("load_cache", cmLoadCacheCommand); |