2001-02-13 03:49:52 +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"
|
2001-02-12 22:26:25 +03:00
|
|
|
#include "cmAbstractFilesCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmAddCustomTargetCommand.cxx"
|
|
|
|
#include "cmAddDefinitionsCommand.cxx"
|
2001-06-26 18:01:03 +04:00
|
|
|
#include "cmAddDependenciesCommand.cxx"
|
2001-04-11 22:59:02 +04:00
|
|
|
#include "cmAddExecutableCommand.cxx"
|
|
|
|
#include "cmAddLibraryCommand.cxx"
|
2001-06-06 04:34:57 +04:00
|
|
|
#include "cmAddTestCommand.cxx"
|
2001-02-12 22:26:25 +03:00
|
|
|
#include "cmAuxSourceDirectoryCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmBuildCommand.cxx"
|
|
|
|
#include "cmBuildNameCommand.cxx"
|
2001-05-17 00:41:30 +04:00
|
|
|
#include "cmCableClassSetCommand.cxx"
|
|
|
|
#include "cmCableWrapTclCommand.cxx"
|
2001-05-08 02:11:16 +04:00
|
|
|
#include "cmConfigureFileCommand.cxx"
|
2001-07-23 19:07:38 +04:00
|
|
|
#include "cmConfigureGccXmlCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmElseCommand.cxx"
|
2001-06-06 21:58:18 +04:00
|
|
|
#include "cmEnableTestingCommand.cxx"
|
2001-07-26 00:53:13 +04:00
|
|
|
#include "cmEndForEachCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmEndIfCommand.cxx"
|
2001-05-08 02:11:16 +04:00
|
|
|
#include "cmExecProgramCommand.cxx"
|
2001-02-27 01:17:34 +03:00
|
|
|
#include "cmFindFileCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmFindLibraryCommand.cxx"
|
2001-04-26 17:38:31 +04:00
|
|
|
#include "cmFindPathCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmFindProgramCommand.cxx"
|
2001-07-26 00:53:13 +04:00
|
|
|
#include "cmForEachCommand.cxx"
|
2001-05-25 05:13:56 +04:00
|
|
|
#include "cmGetFilenameComponentCommand.cxx"
|
2001-04-20 01:39:03 +04:00
|
|
|
#include "cmIfCommand.cxx"
|
2001-04-30 18:52:58 +04:00
|
|
|
#include "cmIncludeCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmIncludeDirectoryCommand.cxx"
|
|
|
|
#include "cmIncludeRegularExpressionCommand.cxx"
|
2001-05-23 19:31:43 +04:00
|
|
|
#include "cmInstallFilesCommand.cxx"
|
2001-07-31 19:29:21 +04:00
|
|
|
#include "cmInstallProgramsCommand.cxx"
|
2001-05-23 19:31:43 +04:00
|
|
|
#include "cmInstallTargetsCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmLinkDirectoriesCommand.cxx"
|
|
|
|
#include "cmLinkLibrariesCommand.cxx"
|
2001-05-09 16:51:54 +04:00
|
|
|
#include "cmLoadCacheCommand.cxx"
|
2001-05-08 02:11:16 +04:00
|
|
|
#include "cmMakeDirectoryCommand.cxx"
|
2001-06-05 01:16:36 +04:00
|
|
|
#include "cmMessageCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmOptionCommand.cxx"
|
2001-06-27 19:49:02 +04:00
|
|
|
#include "cmOutputRequiredFilesCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmProjectCommand.cxx"
|
|
|
|
#include "cmSetCommand.cxx"
|
2001-05-04 19:30:46 +04:00
|
|
|
#include "cmSiteNameCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmSourceFilesCommand.cxx"
|
2001-06-22 17:58:13 +04:00
|
|
|
#include "cmSourceFilesRemoveCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmSourceGroupCommand.cxx"
|
|
|
|
#include "cmSubdirCommand.cxx"
|
2001-08-02 00:14:16 +04:00
|
|
|
#include "cmSubdirDependsCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmTargetLinkLibrariesCommand.cxx"
|
2001-09-17 21:58:07 +04:00
|
|
|
#include "cmUseMangledMesaCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmUtilitySourceCommand.cxx"
|
|
|
|
#include "cmVTKWrapJavaCommand.cxx"
|
|
|
|
#include "cmVTKWrapPythonCommand.cxx"
|
|
|
|
#include "cmVTKWrapTclCommand.cxx"
|
|
|
|
#include "cmWrapExcludeFilesCommand.cxx"
|
|
|
|
|
2001-02-13 03:49:52 +03:00
|
|
|
void GetPredefinedCommands(std::list<cmCommand*>& commands)
|
|
|
|
{
|
|
|
|
commands.push_back(new cmAbstractFilesCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmAddCustomTargetCommand);
|
|
|
|
commands.push_back(new cmAddDefinitionsCommand);
|
2001-06-26 18:01:03 +04:00
|
|
|
commands.push_back(new cmAddDependenciesCommand);
|
2001-04-11 22:59:02 +04:00
|
|
|
commands.push_back(new cmAddExecutableCommand);
|
|
|
|
commands.push_back(new cmAddLibraryCommand);
|
2001-06-06 04:34:57 +04:00
|
|
|
commands.push_back(new cmAddTestCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmAuxSourceDirectoryCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmBuildCommand);
|
|
|
|
commands.push_back(new cmBuildNameCommand);
|
2001-05-17 00:41:30 +04:00
|
|
|
commands.push_back(new cmCableClassSetCommand);
|
|
|
|
commands.push_back(new cmCableWrapTclCommand);
|
2001-05-08 02:11:16 +04:00
|
|
|
commands.push_back(new cmConfigureFileCommand);
|
2001-07-23 19:07:38 +04:00
|
|
|
commands.push_back(new cmConfigureGccXmlCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmElseCommand);
|
2001-06-06 21:58:18 +04:00
|
|
|
commands.push_back(new cmEnableTestingCommand);
|
2001-07-26 00:53:13 +04:00
|
|
|
commands.push_back(new cmEndForEachCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmEndIfCommand);
|
2001-05-08 02:11:16 +04:00
|
|
|
commands.push_back(new cmExecProgramCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmFindFileCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmFindLibraryCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmFindPathCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmFindProgramCommand);
|
2001-07-26 00:53:13 +04:00
|
|
|
commands.push_back(new cmForEachCommand);
|
2001-05-25 05:13:56 +04:00
|
|
|
commands.push_back(new cmGetFilenameComponentCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmIfCommand);
|
|
|
|
commands.push_back(new cmIncludeCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmIncludeDirectoryCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmIncludeRegularExpressionCommand);
|
2001-05-23 19:31:43 +04:00
|
|
|
commands.push_back(new cmInstallFilesCommand);
|
2001-07-31 19:29:21 +04:00
|
|
|
commands.push_back(new cmInstallProgramsCommand);
|
2001-05-23 19:31:43 +04:00
|
|
|
commands.push_back(new cmInstallTargetsCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmLinkDirectoriesCommand);
|
|
|
|
commands.push_back(new cmLinkLibrariesCommand);
|
2001-05-09 16:51:54 +04:00
|
|
|
commands.push_back(new cmLoadCacheCommand);
|
2001-05-08 02:11:16 +04:00
|
|
|
commands.push_back(new cmMakeDirectoryCommand);
|
2001-06-05 01:16:36 +04:00
|
|
|
commands.push_back(new cmMessageCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmOptionCommand);
|
2001-06-27 19:49:02 +04:00
|
|
|
commands.push_back(new cmOutputRequiredFilesCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmProjectCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmSetCommand);
|
|
|
|
commands.push_back(new cmSiteNameCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmSourceFilesCommand);
|
2001-06-22 17:58:13 +04:00
|
|
|
commands.push_back(new cmSourceFilesRemoveCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmSourceGroupCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
commands.push_back(new cmSubdirCommand);
|
2001-08-02 00:14:16 +04:00
|
|
|
commands.push_back(new cmSubdirDependsCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmTargetLinkLibrariesCommand);
|
2001-09-17 21:58:07 +04:00
|
|
|
commands.push_back(new cmUseMangledMesaCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmUtilitySourceCommand);
|
2001-05-03 23:28:06 +04:00
|
|
|
commands.push_back(new cmVTKWrapJavaCommand);
|
2001-04-25 00:49:12 +04:00
|
|
|
commands.push_back(new cmVTKWrapPythonCommand);
|
|
|
|
commands.push_back(new cmVTKWrapTclCommand);
|
2001-05-09 16:51:54 +04:00
|
|
|
commands.push_back(new cmWrapExcludeFilesCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
}
|
|
|
|
|
2001-06-22 17:58:13 +04:00
|
|
|
|