2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2005-01-21 18:27:51 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2005-01-21 18:27:51 +03:00
|
|
|
|
2009-09-28 19:43:28 +04: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.
|
|
|
|
============================================================================*/
|
2005-01-21 18:27:51 +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
|
2012-01-19 00:55:52 +04:00
|
|
|
// like to have CMake to build CMake.
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmCommands.h"
|
2013-01-02 20:10:04 +04:00
|
|
|
#include "cmGeneratorExpressionEvaluationFile.cxx"
|
2006-02-27 18:58:20 +03:00
|
|
|
#include "cmGetCMakePropertyCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmGetDirectoryPropertyCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmGetFilenameComponentCommand.cxx"
|
2008-02-14 19:58:32 +03:00
|
|
|
#include "cmGetPropertyCommand.cxx"
|
2006-03-22 21:04:49 +03:00
|
|
|
#include "cmGetSourceFilePropertyCommand.cxx"
|
2007-06-07 22:31:56 +04:00
|
|
|
#include "cmGetTargetPropertyCommand.cxx"
|
2007-05-25 23:22:22 +04:00
|
|
|
#include "cmHexFileConverter.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmIfCommand.cxx"
|
|
|
|
#include "cmIncludeCommand.cxx"
|
|
|
|
#include "cmIncludeDirectoryCommand.cxx"
|
|
|
|
#include "cmIncludeRegularExpressionCommand.cxx"
|
|
|
|
#include "cmInstallFilesCommand.cxx"
|
2008-02-16 21:05:03 +03:00
|
|
|
#include "cmInstallCommandArguments.cxx"
|
|
|
|
#include "cmInstallCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmInstallTargetsCommand.cxx"
|
|
|
|
#include "cmLinkDirectoriesCommand.cxx"
|
2007-10-29 19:21:05 +03:00
|
|
|
#include "cmListCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmMacroCommand.cxx"
|
|
|
|
#include "cmMakeDirectoryCommand.cxx"
|
|
|
|
#include "cmMarkAsAdvancedCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmMathCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmMessageCommand.cxx"
|
|
|
|
#include "cmOptionCommand.cxx"
|
|
|
|
#include "cmProjectCommand.cxx"
|
2008-01-23 18:28:26 +03:00
|
|
|
#include "cmReturnCommand.cxx"
|
2008-02-13 22:47:03 +03:00
|
|
|
#include "cmSeparateArgumentsCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmSetCommand.cxx"
|
2008-12-18 22:56:30 +03:00
|
|
|
#include "cmSetDirectoryPropertiesCommand.cxx"
|
2008-01-17 23:54:49 +03:00
|
|
|
#include "cmSetPropertyCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmSetSourceFilesPropertiesCommand.cxx"
|
2007-06-27 01:08:29 +04:00
|
|
|
#include "cmSetTargetPropertiesCommand.cxx"
|
|
|
|
#include "cmSetTestsPropertiesCommand.cxx"
|
2008-07-07 23:07:54 +04:00
|
|
|
#include "cmGetTestPropertyCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmSiteNameCommand.cxx"
|
|
|
|
#include "cmStringCommand.cxx"
|
|
|
|
#include "cmSubdirCommand.cxx"
|
|
|
|
#include "cmTargetLinkLibrariesCommand.cxx"
|
2012-10-05 23:55:07 +04:00
|
|
|
#include "cmTimestamp.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
#include "cmTryCompileCommand.cxx"
|
|
|
|
#include "cmTryRunCommand.cxx"
|
2008-08-25 18:31:29 +04:00
|
|
|
#include "cmUnsetCommand.cxx"
|
2012-02-17 19:42:06 +04:00
|
|
|
#include "cmWhileCommand.cxx"
|
2005-01-21 18:27:51 +03:00
|
|
|
|
2013-06-14 16:35:52 +04:00
|
|
|
void GetBootstrapCommands2(std::list<cmCommand*>& commands)
|
2005-01-21 18:27:51 +03:00
|
|
|
{
|
2006-02-27 18:58:20 +03:00
|
|
|
commands.push_back(new cmGetCMakePropertyCommand);
|
2008-02-13 22:47:03 +03:00
|
|
|
commands.push_back(new cmGetDirectoryPropertyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmGetFilenameComponentCommand);
|
2008-02-14 19:58:32 +03:00
|
|
|
commands.push_back(new cmGetPropertyCommand);
|
2006-03-22 21:04:49 +03:00
|
|
|
commands.push_back(new cmGetSourceFilePropertyCommand);
|
2007-06-07 22:31:56 +04:00
|
|
|
commands.push_back(new cmGetTargetPropertyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmIfCommand);
|
|
|
|
commands.push_back(new cmIncludeCommand);
|
|
|
|
commands.push_back(new cmIncludeDirectoryCommand);
|
|
|
|
commands.push_back(new cmIncludeRegularExpressionCommand);
|
2008-02-16 21:05:03 +03:00
|
|
|
commands.push_back(new cmInstallCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmInstallFilesCommand);
|
|
|
|
commands.push_back(new cmInstallTargetsCommand);
|
|
|
|
commands.push_back(new cmLinkDirectoriesCommand);
|
2007-10-29 19:21:05 +03:00
|
|
|
commands.push_back(new cmListCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmMacroCommand);
|
|
|
|
commands.push_back(new cmMakeDirectoryCommand);
|
|
|
|
commands.push_back(new cmMarkAsAdvancedCommand);
|
2008-02-13 22:47:03 +03:00
|
|
|
commands.push_back(new cmMathCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmMessageCommand);
|
|
|
|
commands.push_back(new cmOptionCommand);
|
|
|
|
commands.push_back(new cmProjectCommand);
|
2008-01-23 18:28:26 +03:00
|
|
|
commands.push_back(new cmReturnCommand);
|
2008-02-13 22:47:03 +03:00
|
|
|
commands.push_back(new cmSeparateArgumentsCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmSetCommand);
|
2008-12-18 22:56:30 +03:00
|
|
|
commands.push_back(new cmSetDirectoryPropertiesCommand);
|
2008-01-17 23:54:49 +03:00
|
|
|
commands.push_back(new cmSetPropertyCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmSetSourceFilesPropertiesCommand);
|
2007-06-27 01:08:29 +04:00
|
|
|
commands.push_back(new cmSetTargetPropertiesCommand);
|
2008-07-07 23:07:54 +04:00
|
|
|
commands.push_back(new cmGetTestPropertyCommand);
|
2007-06-27 01:08:29 +04:00
|
|
|
commands.push_back(new cmSetTestsPropertiesCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
commands.push_back(new cmSiteNameCommand);
|
|
|
|
commands.push_back(new cmStringCommand);
|
|
|
|
commands.push_back(new cmSubdirCommand);
|
|
|
|
commands.push_back(new cmTargetLinkLibrariesCommand);
|
|
|
|
commands.push_back(new cmTryCompileCommand);
|
|
|
|
commands.push_back(new cmTryRunCommand);
|
2008-08-25 18:31:29 +04:00
|
|
|
commands.push_back(new cmUnsetCommand);
|
2012-02-17 19:42:06 +04:00
|
|
|
commands.push_back(new cmWhileCommand);
|
2005-01-21 18:27:51 +03:00
|
|
|
}
|