summaryrefslogtreecommitdiffstats
path: root/Source/cmBootstrapCommands1.cxx
diff options
context:
space:
mode:
authorMatthias Maennich <matthias@maennich.net>2015-12-05 18:01:12 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-17 15:44:28 (GMT)
commite8b148318f1fab26b2289cadc2d0c5e12201169d (patch)
treec18ca5a3415761ae65f8db15162ec250c9e5c10a /Source/cmBootstrapCommands1.cxx
parentcbbdfc2b6120e192b4248ce89af93cf34ea8a254 (diff)
downloadCMake-e8b148318f1fab26b2289cadc2d0c5e12201169d.zip
CMake-e8b148318f1fab26b2289cadc2d0c5e12201169d.tar.gz
CMake-e8b148318f1fab26b2289cadc2d0c5e12201169d.tar.bz2
CMakeParseArguments: replace by native cmake_parse_arguments command
Implement a native `cmake_parse_arguments` command that is fully compatible with the documented behaviour of the previous implementation. Leave the CMakeParseArguments module empty but existing for compatibility.
Diffstat (limited to 'Source/cmBootstrapCommands1.cxx')
-rw-r--r--Source/cmBootstrapCommands1.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmBootstrapCommands1.cxx b/Source/cmBootstrapCommands1.cxx
index 1184514..0782b3b 100644
--- a/Source/cmBootstrapCommands1.cxx
+++ b/Source/cmBootstrapCommands1.cxx
@@ -54,6 +54,7 @@
#include "cmFunctionCommand.cxx"
#include "cmPathLabel.cxx"
#include "cmSearchPath.cxx"
+#include "cmParseArgumentsCommand.cxx"
void GetBootstrapCommands1(std::vector<cmCommand*>& commands)
{
@@ -91,4 +92,5 @@ void GetBootstrapCommands1(std::vector<cmCommand*>& commands)
commands.push_back(new cmFindProgramCommand);
commands.push_back(new cmForEachCommand);
commands.push_back(new cmFunctionCommand);
+ commands.push_back(new cmParseArgumentsCommand);
}