[cmake-commits] alex committed cmTarget.h 1.80 1.80.4.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue May 8 14:10:17 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv5940
Modified Files:
Tag: CMake-ACC-TargetUsedAsCommand
cmTarget.h
Log Message:
STYLE: GetName() is const, comment updated
Alex
Index: cmTarget.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.h,v
retrieving revision 1.80
retrieving revision 1.80.4.1
diff -u -d -r1.80 -r1.80.4.1
--- cmTarget.h 28 Mar 2007 03:13:25 -0000 1.80
+++ cmTarget.h 8 May 2007 18:10:15 -0000 1.80.4.1
@@ -55,7 +55,7 @@
void SetType(TargetType f, const char* name);
///! Set/Get the name of the target
- const char* GetName() {return this->Name.c_str();}
+ const char* GetName() const {return this->Name.c_str();}
///! Set the cmMakefile that owns this target
void SetMakefile(cmMakefile *mf);
@@ -180,7 +180,7 @@
/**
* Trace through the source files in this target and add al source files
- * that they depend on, used by the visual studio generators
+ * that they depend on, used by all generators
*/
void TraceVSDependencies(std::string projName, cmMakefile *mf);
More information about the Cmake-commits
mailing list