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-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"
|
|
|
|
#include "cmBuildSharedLibrariesCommand.cxx"
|
2001-05-17 00:41:30 +04:00
|
|
|
#include "cmCableClassSetCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmCableCloseNamespaceCommand.cxx"
|
2001-02-28 17:34:01 +03:00
|
|
|
#include "cmCableCommand.cxx"
|
|
|
|
#include "cmCableData.cxx"
|
|
|
|
#include "cmCableDefineSetCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmCableInstantiateClassCommand.cxx"
|
|
|
|
#include "cmCableInstantiateCommand.cxx"
|
2001-03-02 00:47:05 +03:00
|
|
|
#include "cmCableOpenNamespaceCommand.cxx"
|
|
|
|
#include "cmCablePackageCommand.cxx"
|
|
|
|
#include "cmCablePackageEntryCommand.cxx"
|
|
|
|
#include "cmCableSourceFilesCommand.cxx"
|
2001-05-17 00:41:30 +04:00
|
|
|
#include "cmCableWrapTclCommand.cxx"
|
2001-03-02 00:47:05 +03:00
|
|
|
#include "cmCableWrapCommand.cxx"
|
2001-05-08 02:11:16 +04:00
|
|
|
#include "cmConfigureFileCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmElseCommand.cxx"
|
2001-06-06 21:58:18 +04:00
|
|
|
#include "cmEnableTestingCommand.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-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"
|
|
|
|
#include "cmInstallTargetsCommand.cxx"
|
2001-06-12 19:08:39 +04:00
|
|
|
#include "cmOutputRequiredFilesCommand.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"
|
|
|
|
#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"
|
|
|
|
#include "cmSourceGroupCommand.cxx"
|
|
|
|
#include "cmSubdirCommand.cxx"
|
|
|
|
#include "cmTargetLinkLibrariesCommand.cxx"
|
|
|
|
#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-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);
|
|
|
|
commands.push_back(new cmBuildSharedLibrariesCommand);
|
2001-05-17 00:41:30 +04:00
|
|
|
commands.push_back(new cmCableClassSetCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmCableCloseNamespaceCommand);
|
|
|
|
commands.push_back(new cmCableDefineSetCommand);
|
|
|
|
commands.push_back(new cmCableInstantiateCommand);
|
|
|
|
commands.push_back(new cmCableInstantiateClassCommand);
|
|
|
|
commands.push_back(new cmCableOpenNamespaceCommand);
|
|
|
|
commands.push_back(new cmCablePackageCommand);
|
|
|
|
commands.push_back(new cmCableSourceFilesCommand);
|
2001-05-17 00:41:30 +04:00
|
|
|
commands.push_back(new cmCableWrapTclCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmCableWrapCommand);
|
2001-05-08 02:11:16 +04:00
|
|
|
commands.push_back(new cmConfigureFileCommand);
|
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-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-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);
|
|
|
|
commands.push_back(new cmInstallTargetsCommand);
|
2001-06-12 19:08:39 +04:00
|
|
|
commands.push_back(new cmOutputRequiredFilesCommand);
|
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-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-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-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmTargetLinkLibrariesCommand);
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
|