diff options
author | Brad King <brad.king@kitware.com> | 2008-02-11 18:35:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-11 18:35:30 (GMT) |
commit | 739a463539946323b09e4c22f5fdd38395add1e1 (patch) | |
tree | e29146827cadbb443f1ae72a5bbea61357e987f4 /Source/cmMakefile.cxx | |
parent | 968c53ff6f42eb3e60a10009c308017aea5e0506 (diff) | |
download | CMake-739a463539946323b09e4c22f5fdd38395add1e1.zip CMake-739a463539946323b09e4c22f5fdd38395add1e1.tar.gz CMake-739a463539946323b09e4c22f5fdd38395add1e1.tar.bz2 |
ENH: Add cmMakefile::NeedBackwardsCompatibility method to pass through to cmLocalGenerator::NeedBackwardsCompatibility for convenience.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 31ce605..5e22b15 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -527,6 +527,21 @@ void cmMakefile::SetLocalGenerator(cmLocalGenerator* lg) this->LocalGenerator = lg; } +bool cmMakefile::NeedBackwardsCompatibility(unsigned int major, + unsigned int minor, + unsigned int patch) +{ + if(this->LocalGenerator) + { + return + this->LocalGenerator->NeedBackwardsCompatibility(major, minor, patch); + } + else + { + return false; + } +} + void cmMakefile::FinalPass() { // do all the variable expansions here |