2009-09-28 15:43:28 +00:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2002-01-21 20:30:43 +00:00
|
|
|
|
2009-09-28 15:43:28 +00:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2002-01-21 20:30:43 +00:00
|
|
|
|
2009-09-28 15:43:28 +00: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.
|
|
|
|
============================================================================*/
|
2001-02-13 00:49:52 +00:00
|
|
|
#include "cmCommands.h"
|
2003-04-16 20:17:02 +00:00
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
2013-06-04 08:30:24 +00:00
|
|
|
#include "cmAddCompileOptionsCommand.cxx"
|
2003-04-16 20:17:02 +00:00
|
|
|
#include "cmAuxSourceDirectoryCommand.cxx"
|
2006-03-22 16:15:35 +00:00
|
|
|
#include "cmBuildNameCommand.cxx"
|
2013-06-15 05:38:23 +00:00
|
|
|
#include "cmCMakeHostSystemInformationCommand.cxx"
|
2006-09-22 15:23:51 +00:00
|
|
|
#include "cmElseIfCommand.cxx"
|
2007-06-08 15:57:16 +00:00
|
|
|
#include "cmExportCommand.cxx"
|
2003-04-16 20:17:02 +00:00
|
|
|
#include "cmExportLibraryDependencies.cxx"
|
|
|
|
#include "cmFLTKWrapUICommand.cxx"
|
|
|
|
#include "cmIncludeExternalMSProjectCommand.cxx"
|
2006-03-22 16:15:35 +00:00
|
|
|
#include "cmInstallProgramsCommand.cxx"
|
2003-04-16 20:17:02 +00:00
|
|
|
#include "cmLinkLibrariesCommand.cxx"
|
|
|
|
#include "cmLoadCacheCommand.cxx"
|
|
|
|
#include "cmOutputRequiredFilesCommand.cxx"
|
2006-03-22 16:15:35 +00:00
|
|
|
#include "cmQTWrapCPPCommand.cxx"
|
|
|
|
#include "cmQTWrapUICommand.cxx"
|
2003-04-16 20:17:02 +00:00
|
|
|
#include "cmRemoveCommand.cxx"
|
2006-03-22 16:15:35 +00:00
|
|
|
#include "cmRemoveDefinitionsCommand.cxx"
|
2003-04-16 20:17:02 +00:00
|
|
|
#include "cmSourceGroupCommand.cxx"
|
2006-03-22 16:15:35 +00:00
|
|
|
#include "cmSubdirDependsCommand.cxx"
|
2013-01-07 23:34:41 +00:00
|
|
|
#include "cmTargetCompileDefinitionsCommand.cxx"
|
2013-05-16 13:20:16 +00:00
|
|
|
#include "cmTargetCompileOptionsCommand.cxx"
|
2013-01-01 22:20:04 +00:00
|
|
|
#include "cmTargetIncludeDirectoriesCommand.cxx"
|
|
|
|
#include "cmTargetPropCommandBase.cxx"
|
2006-03-22 16:15:35 +00:00
|
|
|
#include "cmUseMangledMesaCommand.cxx"
|
|
|
|
#include "cmUtilitySourceCommand.cxx"
|
|
|
|
#include "cmVariableRequiresCommand.cxx"
|
2007-04-11 19:13:05 +00:00
|
|
|
#include "cmVariableWatchCommand.cxx"
|
|
|
|
|
2006-03-22 16:15:35 +00:00
|
|
|
#include "cmWriteFileCommand.cxx"
|
2003-04-17 12:03:55 +00:00
|
|
|
|
|
|
|
// This one must be last because it includes windows.h and
|
|
|
|
// windows.h #defines GetCurrentDirectory which is a member
|
|
|
|
// of cmMakefile
|
|
|
|
#include "cmLoadCommandCommand.cxx"
|
2002-08-27 12:36:03 +00:00
|
|
|
#endif
|
2002-08-26 14:52:04 +00:00
|
|
|
|
2005-02-24 15:14:56 +00:00
|
|
|
void GetPredefinedCommands(std::list<cmCommand*>&
|
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
|
|
|
commands
|
|
|
|
#endif
|
|
|
|
)
|
2001-02-13 00:49:52 +00:00
|
|
|
{
|
2003-04-16 20:17:02 +00:00
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
2013-06-04 08:30:24 +00:00
|
|
|
commands.push_back(new cmAddCompileOptionsCommand);
|
2003-04-16 20:17:02 +00:00
|
|
|
commands.push_back(new cmAuxSourceDirectoryCommand);
|
2006-03-22 16:15:35 +00:00
|
|
|
commands.push_back(new cmBuildNameCommand);
|
2013-06-15 05:38:23 +00:00
|
|
|
commands.push_back(new cmCMakeHostSystemInformationCommand);
|
2006-09-22 15:23:51 +00:00
|
|
|
commands.push_back(new cmElseIfCommand);
|
2007-06-08 15:57:16 +00:00
|
|
|
commands.push_back(new cmExportCommand);
|
2003-04-16 20:17:02 +00:00
|
|
|
commands.push_back(new cmExportLibraryDependenciesCommand);
|
|
|
|
commands.push_back(new cmFLTKWrapUICommand);
|
|
|
|
commands.push_back(new cmIncludeExternalMSProjectCommand);
|
2006-03-22 16:15:35 +00:00
|
|
|
commands.push_back(new cmInstallProgramsCommand);
|
2003-04-16 20:17:02 +00:00
|
|
|
commands.push_back(new cmLinkLibrariesCommand);
|
|
|
|
commands.push_back(new cmLoadCacheCommand);
|
|
|
|
commands.push_back(new cmLoadCommandCommand);
|
|
|
|
commands.push_back(new cmOutputRequiredFilesCommand);
|
2006-03-22 16:15:35 +00:00
|
|
|
commands.push_back(new cmQTWrapCPPCommand);
|
|
|
|
commands.push_back(new cmQTWrapUICommand);
|
2003-04-16 20:17:02 +00:00
|
|
|
commands.push_back(new cmRemoveCommand);
|
2006-03-22 16:15:35 +00:00
|
|
|
commands.push_back(new cmRemoveDefinitionsCommand);
|
2003-04-16 20:17:02 +00:00
|
|
|
commands.push_back(new cmSourceGroupCommand);
|
2006-03-22 16:15:35 +00:00
|
|
|
commands.push_back(new cmSubdirDependsCommand);
|
2013-01-01 22:20:04 +00:00
|
|
|
commands.push_back(new cmTargetIncludeDirectoriesCommand);
|
2013-01-07 23:34:41 +00:00
|
|
|
commands.push_back(new cmTargetCompileDefinitionsCommand);
|
2013-05-16 13:20:16 +00:00
|
|
|
commands.push_back(new cmTargetCompileOptionsCommand);
|
2006-03-22 16:15:35 +00:00
|
|
|
commands.push_back(new cmUseMangledMesaCommand);
|
|
|
|
commands.push_back(new cmUtilitySourceCommand);
|
|
|
|
commands.push_back(new cmVariableRequiresCommand);
|
2007-04-11 19:13:05 +00:00
|
|
|
commands.push_back(new cmVariableWatchCommand);
|
2006-03-22 16:15:35 +00:00
|
|
|
commands.push_back(new cmWriteFileCommand);
|
2003-04-16 20:17:02 +00:00
|
|
|
#endif
|
2001-02-13 00:49:52 +00:00
|
|
|
}
|