2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2005-01-21 18:27:51 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2005-01-21 18:27:51 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2005-01-21 18:27:51 +03:00
|
|
|
// This file is used to compile all the commands
|
|
|
|
// that CMake knows about at compile time.
|
|
|
|
// This is sort of a boot strapping approach since you would
|
2012-01-19 00:55:52 +04:00
|
|
|
// like to have CMake to build CMake.
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmAddCustomCommandCommand.cxx"
|
|
|
|
#include "cmAddCustomTargetCommand.cxx"
|
|
|
|
#include "cmAddDefinitionsCommand.cxx"
|
2006-04-19 18:50:15 +04:00
|
|
|
#include "cmAddDependenciesCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmAddExecutableCommand.cxx"
|
|
|
|
#include "cmAddLibraryCommand.cxx"
|
2007-05-13 15:16:25 +04:00
|
|
|
#include "cmAddSubDirectoryCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmAddTestCommand.cxx"
|
2008-01-23 18:28:26 +03:00
|
|
|
#include "cmBreakCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmBuildCommand.cxx"
|
|
|
|
#include "cmCMakeMinimumRequired.cxx"
|
2008-03-01 23:20:35 +03:00
|
|
|
#include "cmCMakePolicyCommand.cxx"
|
2007-07-02 23:43:21 +04:00
|
|
|
#include "cmCommandArgumentsHelper.cxx"
|
2016-04-29 17:53:13 +03:00
|
|
|
#include "cmCommands.h"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmConfigureFileCommand.cxx"
|
2014-11-29 19:56:18 +03:00
|
|
|
#include "cmContinueCommand.cxx"
|
2007-05-25 23:22:22 +04:00
|
|
|
#include "cmCoreTryCompile.cxx"
|
2007-03-03 20:16:35 +03:00
|
|
|
#include "cmCreateTestSourceList.cxx"
|
2008-02-14 19:58:32 +03:00
|
|
|
#include "cmDefinePropertyCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmElseCommand.cxx"
|
2010-12-30 20:59:57 +03:00
|
|
|
#include "cmEnableLanguageCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmEnableTestingCommand.cxx"
|
|
|
|
#include "cmEndForEachCommand.cxx"
|
2007-12-03 21:35:41 +03:00
|
|
|
#include "cmEndFunctionCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmEndIfCommand.cxx"
|
2007-12-03 21:35:41 +03:00
|
|
|
#include "cmEndMacroCommand.cxx"
|
2012-02-17 19:42:06 +04:00
|
|
|
#include "cmEndWhileCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmExecProgramCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmExecuteProcessCommand.cxx"
|
2016-04-29 17:53:13 +03:00
|
|
|
#include "cmFileCommand.cxx"
|
2006-03-02 21:30:22 +03:00
|
|
|
#include "cmFindBase.cxx"
|
2008-01-17 17:02:31 +03:00
|
|
|
#include "cmFindCommon.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmFindFileCommand.cxx"
|
|
|
|
#include "cmFindLibraryCommand.cxx"
|
|
|
|
#include "cmFindPackageCommand.cxx"
|
|
|
|
#include "cmFindPathCommand.cxx"
|
|
|
|
#include "cmFindProgramCommand.cxx"
|
|
|
|
#include "cmForEachCommand.cxx"
|
2007-12-03 21:35:41 +03:00
|
|
|
#include "cmFunctionCommand.cxx"
|
2016-04-29 17:53:13 +03:00
|
|
|
#include "cmParseArgumentsCommand.cxx"
|
2014-10-17 21:07:26 +04:00
|
|
|
#include "cmPathLabel.cxx"
|
|
|
|
#include "cmSearchPath.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
|
2015-04-12 03:44:41 +03:00
|
|
|
void GetBootstrapCommands1(std::vector<cmCommand*>& commands)
|
2005-01-21 18:27:51 +03:00
|
|
|
{
|
|
|
|
commands.push_back(new cmAddCustomCommandCommand);
|
|
|
|
commands.push_back(new cmAddCustomTargetCommand);
|
|
|
|
commands.push_back(new cmAddDefinitionsCommand);
|
2006-04-19 18:50:15 +04:00
|
|
|
commands.push_back(new cmAddDependenciesCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmAddExecutableCommand);
|
|
|
|
commands.push_back(new cmAddLibraryCommand);
|
2007-05-13 15:16:25 +04:00
|
|
|
commands.push_back(new cmAddSubDirectoryCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmAddTestCommand);
|
2008-01-23 18:28:26 +03:00
|
|
|
commands.push_back(new cmBreakCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmBuildCommand);
|
|
|
|
commands.push_back(new cmCMakeMinimumRequired);
|
2008-03-01 23:20:35 +03:00
|
|
|
commands.push_back(new cmCMakePolicyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmConfigureFileCommand);
|
2014-11-29 19:56:18 +03:00
|
|
|
commands.push_back(new cmContinueCommand);
|
2007-03-03 20:16:35 +03:00
|
|
|
commands.push_back(new cmCreateTestSourceList);
|
2008-02-14 19:58:32 +03:00
|
|
|
commands.push_back(new cmDefinePropertyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmElseCommand);
|
2010-12-30 20:59:57 +03:00
|
|
|
commands.push_back(new cmEnableLanguageCommand);
|
2012-01-19 00:55:52 +04:00
|
|
|
commands.push_back(new cmEnableTestingCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmEndForEachCommand);
|
2007-12-03 21:35:41 +03:00
|
|
|
commands.push_back(new cmEndFunctionCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmEndIfCommand);
|
2007-12-03 21:35:41 +03:00
|
|
|
commands.push_back(new cmEndMacroCommand);
|
2012-02-17 19:42:06 +04:00
|
|
|
commands.push_back(new cmEndWhileCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmExecProgramCommand);
|
2008-02-13 22:47:03 +03:00
|
|
|
commands.push_back(new cmExecuteProcessCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmFileCommand);
|
|
|
|
commands.push_back(new cmFindFileCommand);
|
|
|
|
commands.push_back(new cmFindLibraryCommand);
|
|
|
|
commands.push_back(new cmFindPackageCommand);
|
|
|
|
commands.push_back(new cmFindPathCommand);
|
|
|
|
commands.push_back(new cmFindProgramCommand);
|
|
|
|
commands.push_back(new cmForEachCommand);
|
2007-12-03 21:35:41 +03:00
|
|
|
commands.push_back(new cmFunctionCommand);
|
2015-12-05 21:01:12 +03:00
|
|
|
commands.push_back(new cmParseArgumentsCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
}
|