summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-07 12:50:54 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-08 20:23:44 (GMT)
commit52b9d828ab482f5eaae3313d821d9a4a492f069b (patch)
tree5bfd46840fe306a15b23d3ddf65ea4fe3dea73ca /Source/cmMakefile.h
parentfe603c7dfb8a3d0dfc892b46f9df0b4c32a892f9 (diff)
downloadCMake-52b9d828ab482f5eaae3313d821d9a4a492f069b.zip
CMake-52b9d828ab482f5eaae3313d821d9a4a492f069b.tar.gz
CMake-52b9d828ab482f5eaae3313d821d9a4a492f069b.tar.bz2
cmMakefile: Move CMP0059 handling to command code.
Don't pay a penalty for it in all GetProperty calls. Additionally, the storage of properties will eventually move to cmState, which should only contain state and not logic for policies like this.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 6f6ed27..86bde0c 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -838,6 +838,8 @@ public:
cmState::Snapshot GetStateSnapshot() const;
+ const char* GetDefineFlagsCMP0059() const;
+
protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(const std::string& name, cmTarget& target);