summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-19 10:11:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-19 19:40:31 (GMT)
commit04d398d3561453beb5e52db61810d98a832761ce (patch)
treeecc320c9cdafe89058d01c664c1802ddd6fecc4f /Source/cmTarget.h
parent50d152035da514005eaaa1d3e39e407676efd73c (diff)
downloadCMake-04d398d3561453beb5e52db61810d98a832761ce.zip
CMake-04d398d3561453beb5e52db61810d98a832761ce.tar.gz
CMake-04d398d3561453beb5e52db61810d98a832761ce.tar.bz2
cmTarget: Make GetTargetSourceFileFlags const.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index bafcb15..e67edd7 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -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,