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