2002-01-21 23:30:43 +03:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: Insight Segmentation & Registration Toolkit
|
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
|
|
|
Copyright (c) 2002 Insight Consortium. All rights reserved.
|
|
|
|
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
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"
|
2002-04-22 19:50:43 +04:00
|
|
|
#include "cmAddCustomCommandCommand.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"
|
2002-04-18 00:16:06 +04:00
|
|
|
#include "cmCMakeMinimumRequired.cxx"
|
2001-05-08 02:11:16 +04:00
|
|
|
#include "cmConfigureFileCommand.cxx"
|
2002-03-21 00:19:00 +03:00
|
|
|
#include "cmCreateTestSourceList.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-11-27 08:03:45 +03:00
|
|
|
#include "cmFLTKWrapUICommand.cxx"
|
2001-05-25 05:13:56 +04:00
|
|
|
#include "cmGetFilenameComponentCommand.cxx"
|
2002-03-29 18:06:30 +03:00
|
|
|
#include "cmGetSourceFilePropertyCommand.cxx"
|
2002-05-08 21:11:53 +04:00
|
|
|
#include "cmITKWrapTclCommand.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"
|
2001-10-31 15:03:32 +03:00
|
|
|
#include "cmIncludeExternalMSProjectCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#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"
|
2002-08-13 23:46:33 +04:00
|
|
|
#include "cmMacroCommand.cxx"
|
2001-05-08 02:11:16 +04:00
|
|
|
#include "cmMakeDirectoryCommand.cxx"
|
2001-11-27 02:28:27 +03:00
|
|
|
#include "cmMarkAsAdvancedCommand.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"
|
2002-04-22 19:50:43 +04:00
|
|
|
#include "cmRemoveCommand.cxx"
|
2002-04-30 22:00:35 +04:00
|
|
|
#include "cmSeparateArgumentsCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmSetCommand.cxx"
|
2002-03-29 18:06:30 +03:00
|
|
|
#include "cmSetSourceFilesPropertiesCommand.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"
|
2002-08-28 22:51:10 +04:00
|
|
|
#include "cmTryCompileCommand.cxx"
|
2001-09-17 21:58:07 +04:00
|
|
|
#include "cmUseMangledMesaCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmUtilitySourceCommand.cxx"
|
2001-11-20 01:52:08 +03:00
|
|
|
#include "cmVariableRequiresCommand.cxx"
|
2002-04-22 19:50:43 +04:00
|
|
|
#include "cmVTKMakeInstantiatorCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmVTKWrapJavaCommand.cxx"
|
|
|
|
#include "cmVTKWrapPythonCommand.cxx"
|
|
|
|
#include "cmVTKWrapTclCommand.cxx"
|
2001-10-15 22:19:53 +04:00
|
|
|
#include "cmQTWrapCPPCommand.cxx"
|
2001-11-09 20:03:41 +03:00
|
|
|
#include "cmQTWrapUICommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmWrapExcludeFilesCommand.cxx"
|
|
|
|
|
2002-08-27 16:36:03 +04:00
|
|
|
// on regular builds add in the load command command
|
|
|
|
// we do not add it in on the bootstrap because it
|
|
|
|
// requires dynaic loading support etc, which makes
|
|
|
|
// the bootstrap configure file a mess
|
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
2002-08-26 18:52:04 +04:00
|
|
|
#include "cmLoadCommandCommand.cxx"
|
2002-08-27 16:36:03 +04:00
|
|
|
#endif
|
2002-08-26 18:52:04 +04:00
|
|
|
|
2001-02-13 03:49:52 +03:00
|
|
|
void GetPredefinedCommands(std::list<cmCommand*>& commands)
|
|
|
|
{
|
|
|
|
commands.push_back(new cmAbstractFilesCommand);
|
2002-04-22 19:50:43 +04:00
|
|
|
commands.push_back(new cmAddCustomCommandCommand);
|
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);
|
2002-04-18 00:16:06 +04:00
|
|
|
commands.push_back(new cmCMakeMinimumRequired);
|
2001-05-08 02:11:16 +04:00
|
|
|
commands.push_back(new cmConfigureFileCommand);
|
2002-03-21 00:19:00 +03:00
|
|
|
commands.push_back(new cmCreateTestSourceList);
|
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-11-27 08:03:45 +03:00
|
|
|
commands.push_back(new cmFLTKWrapUICommand);
|
2001-05-25 05:13:56 +04:00
|
|
|
commands.push_back(new cmGetFilenameComponentCommand);
|
2002-03-29 18:06:30 +03:00
|
|
|
commands.push_back(new cmGetSourceFilePropertyCommand);
|
2002-05-08 21:11:53 +04:00
|
|
|
commands.push_back(new cmITKWrapTclCommand);
|
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-10-31 15:03:32 +03:00
|
|
|
commands.push_back(new cmIncludeExternalMSProjectCommand);
|
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);
|
2002-08-27 16:36:03 +04:00
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
2002-08-26 18:52:04 +04:00
|
|
|
commands.push_back(new cmLoadCommandCommand);
|
2002-08-27 16:36:03 +04:00
|
|
|
#endif
|
2002-08-13 23:46:33 +04:00
|
|
|
commands.push_back(new cmMacroCommand);
|
2001-05-08 02:11:16 +04:00
|
|
|
commands.push_back(new cmMakeDirectoryCommand);
|
2001-11-27 02:28:27 +03:00
|
|
|
commands.push_back(new cmMarkAsAdvancedCommand);
|
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);
|
2002-04-22 19:50:43 +04:00
|
|
|
commands.push_back(new cmRemoveCommand);
|
2002-04-30 22:00:35 +04:00
|
|
|
commands.push_back(new cmSeparateArgumentsCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
commands.push_back(new cmSetCommand);
|
2002-03-29 18:06:30 +03:00
|
|
|
commands.push_back(new cmSetSourceFilesPropertiesCommand);
|
2001-05-05 19:03:35 +04:00
|
|
|
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);
|
2002-08-28 22:51:10 +04:00
|
|
|
commands.push_back(new cmTryCompileCommand);
|
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-11-20 01:52:08 +03:00
|
|
|
commands.push_back(new cmVariableRequiresCommand);
|
2002-04-22 19:50:43 +04:00
|
|
|
commands.push_back(new cmVTKMakeInstantiatorCommand);
|
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-10-15 22:19:53 +04:00
|
|
|
commands.push_back(new cmQTWrapCPPCommand);
|
2001-11-09 20:03:41 +03:00
|
|
|
commands.push_back(new cmQTWrapUICommand);
|
2001-05-09 16:51:54 +04:00
|
|
|
commands.push_back(new cmWrapExcludeFilesCommand);
|
2001-02-13 03:49:52 +03:00
|
|
|
}
|