summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-08 19:31:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-08 19:31:57 (GMT)
commitaf770bc27e7870ef2e3796163ff610773cb51a38 (patch)
tree051025c6caf3800ed71bfb22a42d0ab1e7c45be3 /Source
parent97758f29206a172524edd144e588558bb4a83700 (diff)
parent09a0da77891bae3820b48c44c48bef3837b0a6e2 (diff)
downloadCMake-af770bc27e7870ef2e3796163ff610773cb51a38.zip
CMake-af770bc27e7870ef2e3796163ff610773cb51a38.tar.gz
CMake-af770bc27e7870ef2e3796163ff610773cb51a38.tar.bz2
Merge topic 'deprecate-load_command'
09a0da7 Revert "load_command: Deprecate and document pending removal"
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLoadCommandCommand.cxx4
-rw-r--r--Source/cmLoadCommandCommand.h15
2 files changed, 1 insertions, 18 deletions
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx
index 181b922..b2acf06 100644
--- a/Source/cmLoadCommandCommand.cxx
+++ b/Source/cmLoadCommandCommand.cxx
@@ -224,10 +224,6 @@ cmLoadedCommand::~cmLoadedCommand()
bool cmLoadCommandCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
- this->Makefile->IssueMessage(
- cmake::AUTHOR_WARNING,
- "The \"load_command\" command will be removed in CMake 3.0. "
- "See command documentation for details.");
if(args.size() < 1 )
{
return true;
diff --git a/Source/cmLoadCommandCommand.h b/Source/cmLoadCommandCommand.h
index bcd1831..f0b34ee 100644
--- a/Source/cmLoadCommandCommand.h
+++ b/Source/cmLoadCommandCommand.h
@@ -47,7 +47,7 @@ public:
*/
virtual const char* GetTerseDocumentation() const
{
- return "Deprecated. Use macro() or function() instead.";
+ return "Load a command into a running CMake.";
}
/**
@@ -56,13 +56,6 @@ public:
virtual const char* GetFullDocumentation() const
{
return
- "This command will be removed in CMake 3.0. "
- "It works only when the target architecture matches the "
- "running CMake binary. "
- "Use macro() or function() to add commands. "
- "Use execute_process() to run advanced computations "
- "in external processes."
- "\n"
" load_command(COMMAND_NAME <loc1> [loc2 ...])\n"
"The given locations are searched for a library whose name is "
"cmCOMMAND_NAME. If found, it is loaded as a module and the command "
@@ -74,12 +67,6 @@ public:
"Otherwise the variable will not be set.";
}
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
cmTypeMacro(cmLoadCommandCommand, cmCommand);
};