[Cmake-commits] CMake branch, next, updated. v2.8.4-1586-g93c531e
Brad King
brad.king at kitware.com
Mon May 23 13:23:14 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 93c531efd33ada607f1407aa273b08c689bad9bf (commit)
via 5cf4ff6e1fefe964f19e5f83e7ef68ca64bd2e05 (commit)
from 3bd2fbb8a9aa72b9a5063c2180136230b46c0903 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=93c531efd33ada607f1407aa273b08c689bad9bf
commit 93c531efd33ada607f1407aa273b08c689bad9bf
Merge: 3bd2fbb 5cf4ff6
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon May 23 13:23:12 2011 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon May 23 13:23:12 2011 -0400
Merge topic 'doc-output_required_files' into next
5cf4ff6 Document status of output_required_files command (#12214)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5cf4ff6e1fefe964f19e5f83e7ef68ca64bd2e05
commit 5cf4ff6e1fefe964f19e5f83e7ef68ca64bd2e05
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon May 23 13:21:15 2011 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon May 23 13:21:15 2011 -0400
Document status of output_required_files command (#12214)
This command is barely functional and exists only for historical
reasons. State this in the documentation.
diff --git a/Source/cmOutputRequiredFilesCommand.h b/Source/cmOutputRequiredFilesCommand.h
index 0da7724..6038472 100644
--- a/Source/cmOutputRequiredFilesCommand.h
+++ b/Source/cmOutputRequiredFilesCommand.h
@@ -47,8 +47,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return
- "Output a list of required source files for a specified source file.";
+ return "Deprecated. Approximate C preprocessor dependency scanning.";
}
/**
@@ -57,12 +56,22 @@ public:
virtual const char* GetFullDocumentation()
{
return
+ "This command exists only because ancient CMake versions provided it. "
+ "CMake handles preprocessor dependency scanning automatically using a "
+ "more advanced scanner.\n"
" output_required_files(srcfile outputfile)\n"
"Outputs a list of all the source files that are required by the "
"specified srcfile. This list is written into outputfile. This is "
"similar to writing out the dependencies for srcfile except that it "
"jumps from .h files into .cxx, .c and .cpp files if possible.";
}
+
+ /** This command is kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmOutputRequiredFilesCommand, cmCommand);
void ListDependencies(cmDependInformation const *info,
-----------------------------------------------------------------------
Summary of changes:
Source/cmOutputRequiredFilesCommand.h | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list