2002-01-21 23:30:43 +03:00
|
|
|
/*=========================================================================
|
|
|
|
|
2002-10-24 02:03:27 +04:00
|
|
|
Program: CMake - Cross-Platform Makefile Generator
|
2002-01-21 23:30:43 +03:00
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
2002-10-24 02:03:27 +04:00
|
|
|
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
2002-01-21 23:30:43 +03:00
|
|
|
|
|
|
|
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
|
|
|
#include "cmCommands.h"
|
2003-04-17 00:17:02 +04:00
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
|
|
|
#include "cmAuxSourceDirectoryCommand.cxx"
|
2005-01-21 17:38:04 +03:00
|
|
|
#include "cmEndWhileCommand.cxx"
|
2003-04-17 00:17:02 +04:00
|
|
|
#include "cmExportLibraryDependencies.cxx"
|
2004-09-22 22:42:05 +04:00
|
|
|
#include "cmEnableLanguageCommand.cxx"
|
2003-04-17 00:17:02 +04:00
|
|
|
#include "cmFLTKWrapUICommand.cxx"
|
|
|
|
#include "cmGetCMakePropertyCommand.cxx"
|
2004-04-24 00:20:36 +04:00
|
|
|
#include "cmGetDirectoryPropertyCommand.cxx"
|
2003-04-17 00:17:02 +04:00
|
|
|
#include "cmGetTargetPropertyCommand.cxx"
|
|
|
|
#include "cmITKWrapTclCommand.cxx"
|
|
|
|
#include "cmIncludeExternalMSProjectCommand.cxx"
|
|
|
|
#include "cmLinkLibrariesCommand.cxx"
|
|
|
|
#include "cmLoadCacheCommand.cxx"
|
|
|
|
#include "cmOutputRequiredFilesCommand.cxx"
|
|
|
|
#include "cmRemoveCommand.cxx"
|
2004-04-24 00:20:36 +04:00
|
|
|
#include "cmSetDirectoryPropertiesCommand.cxx"
|
2003-04-17 00:17:02 +04:00
|
|
|
#include "cmSetTargetPropertiesCommand.cxx"
|
|
|
|
#include "cmSourceFilesCommand.cxx"
|
|
|
|
#include "cmSourceFilesRemoveCommand.cxx"
|
|
|
|
#include "cmSourceGroupCommand.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"
|
2003-04-17 00:17:02 +04:00
|
|
|
#include "cmUseMangledMesaCommand.cxx"
|
|
|
|
#include "cmUtilitySourceCommand.cxx"
|
2005-01-21 17:38:04 +03:00
|
|
|
#include "cmWhileCommand.cxx"
|
2001-05-05 19:03:35 +04:00
|
|
|
#include "cmWrapExcludeFilesCommand.cxx"
|
2003-04-17 16:03:55 +04: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 16:36:03 +04:00
|
|
|
#endif
|
2002-08-26 18:52:04 +04:00
|
|
|
|
2005-02-24 18:14:56 +03:00
|
|
|
void GetPredefinedCommands(std::list<cmCommand*>&
|
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
|
|
|
commands
|
|
|
|
#endif
|
|
|
|
)
|
2001-02-13 03:49:52 +03:00
|
|
|
{
|
2003-04-17 00:17:02 +04:00
|
|
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
|
|
|
commands.push_back(new cmAuxSourceDirectoryCommand);
|
2004-09-22 22:42:05 +04:00
|
|
|
commands.push_back(new cmEnableLanguageCommand);
|
2005-01-21 17:38:04 +03:00
|
|
|
commands.push_back(new cmEndWhileCommand);
|
2003-04-17 00:17:02 +04:00
|
|
|
commands.push_back(new cmExportLibraryDependenciesCommand);
|
|
|
|
commands.push_back(new cmFLTKWrapUICommand);
|
|
|
|
commands.push_back(new cmGetCMakePropertyCommand);
|
2004-04-24 00:20:36 +04:00
|
|
|
commands.push_back(new cmGetDirectoryPropertyCommand);
|
2003-04-17 00:17:02 +04:00
|
|
|
commands.push_back(new cmGetTargetPropertyCommand);
|
|
|
|
commands.push_back(new cmITKWrapTclCommand);
|
|
|
|
commands.push_back(new cmIncludeExternalMSProjectCommand);
|
|
|
|
commands.push_back(new cmLinkLibrariesCommand);
|
|
|
|
commands.push_back(new cmLoadCacheCommand);
|
|
|
|
commands.push_back(new cmLoadCommandCommand);
|
|
|
|
commands.push_back(new cmOutputRequiredFilesCommand);
|
|
|
|
commands.push_back(new cmRemoveCommand);
|
2004-04-24 00:20:36 +04:00
|
|
|
commands.push_back(new cmSetDirectoryPropertiesCommand);
|
2003-04-17 00:17:02 +04:00
|
|
|
commands.push_back(new cmSetTargetPropertiesCommand);
|
|
|
|
commands.push_back(new cmSourceFilesCommand);
|
|
|
|
commands.push_back(new cmSourceFilesRemoveCommand);
|
|
|
|
commands.push_back(new cmSourceGroupCommand);
|
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);
|
2003-04-17 00:17:02 +04:00
|
|
|
commands.push_back(new cmUseMangledMesaCommand);
|
|
|
|
commands.push_back(new cmUtilitySourceCommand);
|
2005-01-21 17:38:04 +03:00
|
|
|
commands.push_back(new cmWhileCommand);
|
2001-05-09 16:51:54 +04:00
|
|
|
commands.push_back(new cmWrapExcludeFilesCommand);
|
2003-04-17 00:17:02 +04:00
|
|
|
#endif
|
2001-02-13 03:49:52 +03:00
|
|
|
}
|