2009-10-02 01:21: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-10-02 01:21: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-10-02 01:21: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
|
|
|
|
// like to have CMake to build CMake.
|
|
|
|
#include "cmCommands.h"
|
|
|
|
#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"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmConfigureFileCommand.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"
|
|
|
|
#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"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmExecProgramCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmExecuteProcessCommand.cxx"
|
2007-06-08 19:57:16 +04:00
|
|
|
#include "cmExternalMakefileProjectGenerator.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 "cmFileCommand.cxx"
|
|
|
|
#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"
|
2006-02-27 18:58:20 +03:00
|
|
|
#include "cmGetCMakePropertyCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmGetDirectoryPropertyCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmGetFilenameComponentCommand.cxx"
|
2008-02-14 19:58:32 +03:00
|
|
|
#include "cmGetPropertyCommand.cxx"
|
2006-03-22 21:04:49 +03:00
|
|
|
#include "cmGetSourceFilePropertyCommand.cxx"
|
2007-06-07 22:31:56 +04:00
|
|
|
#include "cmGetTargetPropertyCommand.cxx"
|
2007-05-25 23:22:22 +04:00
|
|
|
#include "cmHexFileConverter.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmIfCommand.cxx"
|
|
|
|
#include "cmIncludeCommand.cxx"
|
|
|
|
#include "cmIncludeDirectoryCommand.cxx"
|
|
|
|
#include "cmIncludeRegularExpressionCommand.cxx"
|
|
|
|
#include "cmInstallFilesCommand.cxx"
|
2008-02-16 21:05:03 +03:00
|
|
|
#include "cmInstallCommandArguments.cxx"
|
|
|
|
#include "cmInstallCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmInstallTargetsCommand.cxx"
|
|
|
|
#include "cmLinkDirectoriesCommand.cxx"
|
2007-10-29 19:21:05 +03:00
|
|
|
#include "cmListCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmMacroCommand.cxx"
|
|
|
|
#include "cmMakeDirectoryCommand.cxx"
|
|
|
|
#include "cmMarkAsAdvancedCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmMathCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmMessageCommand.cxx"
|
|
|
|
#include "cmOptionCommand.cxx"
|
|
|
|
#include "cmProjectCommand.cxx"
|
2008-01-23 18:28:26 +03:00
|
|
|
#include "cmReturnCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmSeparateArgumentsCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmSetCommand.cxx"
|
2008-12-18 22:56:30 +03:00
|
|
|
#include "cmSetDirectoryPropertiesCommand.cxx"
|
2008-01-17 23:54:49 +03:00
|
|
|
#include "cmSetPropertyCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmSetSourceFilesPropertiesCommand.cxx"
|
2007-06-27 01:08:29 +04:00
|
|
|
#include "cmSetTargetPropertiesCommand.cxx"
|
|
|
|
#include "cmSetTestsPropertiesCommand.cxx"
|
2008-07-07 23:07:54 +04:00
|
|
|
#include "cmGetTestPropertyCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmSiteNameCommand.cxx"
|
|
|
|
#include "cmStringCommand.cxx"
|
|
|
|
#include "cmSubdirCommand.cxx"
|
|
|
|
#include "cmTargetLinkLibrariesCommand.cxx"
|
|
|
|
#include "cmTryCompileCommand.cxx"
|
|
|
|
#include "cmTryRunCommand.cxx"
|
2008-08-25 18:31:29 +04:00
|
|
|
#include "cmUnsetCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
|
|
|
|
void GetBootstrapCommands(std::list<cmCommand*>& commands)
|
|
|
|
{
|
|
|
|
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);
|
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);
|
|
|
|
commands.push_back(new cmEnableTestingCommand);
|
|
|
|
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);
|
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);
|
2006-02-27 18:58:20 +03:00
|
|
|
commands.push_back(new cmGetCMakePropertyCommand);
|
2008-02-13 22:47:03 +03:00
|
|
|
commands.push_back(new cmGetDirectoryPropertyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmGetFilenameComponentCommand);
|
2008-02-14 19:58:32 +03:00
|
|
|
commands.push_back(new cmGetPropertyCommand);
|
2006-03-22 21:04:49 +03:00
|
|
|
commands.push_back(new cmGetSourceFilePropertyCommand);
|
2007-06-07 22:31:56 +04:00
|
|
|
commands.push_back(new cmGetTargetPropertyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmIfCommand);
|
|
|
|
commands.push_back(new cmIncludeCommand);
|
|
|
|
commands.push_back(new cmIncludeDirectoryCommand);
|
|
|
|
commands.push_back(new cmIncludeRegularExpressionCommand);
|
2008-02-16 21:05:03 +03:00
|
|
|
commands.push_back(new cmInstallCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmInstallFilesCommand);
|
|
|
|
commands.push_back(new cmInstallTargetsCommand);
|
|
|
|
commands.push_back(new cmLinkDirectoriesCommand);
|
2007-10-29 19:21:05 +03:00
|
|
|
commands.push_back(new cmListCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmMacroCommand);
|
|
|
|
commands.push_back(new cmMakeDirectoryCommand);
|
|
|
|
commands.push_back(new cmMarkAsAdvancedCommand);
|
2008-02-13 22:47:03 +03:00
|
|
|
commands.push_back(new cmMathCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmMessageCommand);
|
|
|
|
commands.push_back(new cmOptionCommand);
|
|
|
|
commands.push_back(new cmProjectCommand);
|
2008-01-23 18:28:26 +03:00
|
|
|
commands.push_back(new cmReturnCommand);
|
2008-02-13 22:47:03 +03:00
|
|
|
commands.push_back(new cmSeparateArgumentsCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmSetCommand);
|
2008-12-18 22:56:30 +03:00
|
|
|
commands.push_back(new cmSetDirectoryPropertiesCommand);
|
2008-01-17 23:54:49 +03:00
|
|
|
commands.push_back(new cmSetPropertyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmSetSourceFilesPropertiesCommand);
|
2007-06-27 01:08:29 +04:00
|
|
|
commands.push_back(new cmSetTargetPropertiesCommand);
|
2008-07-07 23:07:54 +04:00
|
|
|
commands.push_back(new cmGetTestPropertyCommand);
|
2007-06-27 01:08:29 +04:00
|
|
|
commands.push_back(new cmSetTestsPropertiesCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmSiteNameCommand);
|
|
|
|
commands.push_back(new cmStringCommand);
|
|
|
|
commands.push_back(new cmSubdirCommand);
|
|
|
|
commands.push_back(new cmTargetLinkLibrariesCommand);
|
|
|
|
commands.push_back(new cmTryCompileCommand);
|
|
|
|
commands.push_back(new cmTryRunCommand);
|
2008-08-25 18:31:29 +04:00
|
|
|
commands.push_back(new cmUnsetCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
}
|