cmTarget: Make GetTargetSourceFileFlags const.

This commit is contained in:
Stephen Kelly
2013-11-19 11:11:15 +01:00
parent 50d152035d
commit 04d398d356
2 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -162,7 +162,8 @@ public:
/**
* Get the flags for a given source file as used in this target
*/
struct SourceFileFlags GetTargetSourceFileFlags(const cmSourceFile* sf);
struct SourceFileFlags
GetTargetSourceFileFlags(const cmSourceFile* sf) const;
/**
* Add sources to the target.
@@ -742,7 +743,7 @@ private:
friend class cmTargetTraceDependencies;
cmTargetInternalPointer Internal;
void ConstructSourceFileFlags();
void ConstructSourceFileFlags() const;
void ComputeVersionedName(std::string& vName,
std::string const& prefix,
std::string const& base,