summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-08 17:54:11 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-08 17:54:11 (GMT)
commitd17aa60659a1a69f9101c61a149eca5842291226 (patch)
tree3f174d1aeb08bacf51bb523841a066a8d25c4339 /Source/cmMakefile.h
parentccc6fe94453444ebd5e655a9f90a5d074049f846 (diff)
parent8174e5cd9424a7f45174562f21eb80eb06a3f3d0 (diff)
downloadCMake-d17aa60659a1a69f9101c61a149eca5842291226.zip
CMake-d17aa60659a1a69f9101c61a149eca5842291226.tar.gz
CMake-d17aa60659a1a69f9101c61a149eca5842291226.tar.bz2
Merge topic 'data-layout'
8174e5cd cmCustomCommand: Remove special member functions. 34e1d6db cmCustomCommand: Re-arrange data layout. 54cb76f2 cmComputeLinkDepends: Re-arrange data layout. b661d6c6 cmQtAutoGenerators: Re-arrange data layout. 40844a14 cmProcessTools: Re-arrange data layout. b1ff32af cmOrderDirectories: Re-arrange data layout. dd0417c7 cmInstallTargetGenerator: Re-arrange data layout. 125c4866 cmInstallFilesGenerator: Re-arrange data layout. 92b8b1fc cmGraphVizWriter: Re-arrange data layout. 7f3e1623 cmGlobalGenerator: Re-arrange data layout. d9df7fa7 cmComputeComponentGraph: Re-arrange data layout. db24e41b cmCommandArgumentParserHelper: Re-arrange data. 4cd13e80 cmComputeLinkInformation: Re-arrange data layout. 3e087a40 cmLocalUnixMakefileGenerator: Re-arrange data layout. e0421701 cmMakefile: Re-arrange data layout. c26696eb cmSourceFile: Re-arrange data. ...
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 46df37b..6f6ed27 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -372,8 +372,6 @@ public:
};
friend class PolicyPushPop;
- mutable std::set<cmListFileContext> CMP0054ReportedIds;
-
/**
* Determine if the given context, name pair has already been reported
* in context of CMP0054.
@@ -717,8 +715,7 @@ public:
void AppendProperty(const std::string& prop, const char *value,
bool asString=false);
const char *GetProperty(const std::string& prop) const;
- const char *GetProperty(const std::string& prop,
- cmProperty::ScopeType scope) const;
+ const char *GetProperty(const std::string& prop, bool chain) const;
bool GetPropertyAsBool(const std::string& prop) const;
// Get the properties
@@ -848,6 +845,8 @@ protected:
// Check for a an unused variable
void LogUnused(const char* reason, const std::string& name) const;
+ mutable std::set<cmListFileContext> CMP0054ReportedIds;
+
std::string ProjectName; // project name
// libraries, classes, and executables
@@ -949,10 +948,6 @@ private:
cmPropertyMap Properties;
- // Unused variable flags
- bool WarnUnused;
- bool CheckSystemVars;
-
// stack of list files being read
std::vector<std::string> ListFileStack;
@@ -994,8 +989,6 @@ private:
cmPolicies::PolicyStatus
GetPolicyStatusInternal(cmPolicies::PolicyID id) const;
- bool CheckCMP0000;
-
// Enforce rules about CMakeLists.txt files.
void EnforceDirectoryLevelRules() const;
@@ -1021,7 +1014,6 @@ private:
long line,
bool removeEmpty,
bool replaceAt) const;
- bool Configured;
/**
* Old version of GetSourceFileWithOutput(const std::string&) kept for
* backward-compatibility. It implements a linear search and support
@@ -1067,6 +1059,11 @@ private:
void CheckForUnusedVariables() const;
+ // Unused variable flags
+ bool WarnUnused;
+ bool CheckSystemVars;
+ bool CheckCMP0000;
+ bool Configured;
mutable bool SuppressWatches;
};