summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-11 13:35:30 -0500
committerBrad King <brad.king@kitware.com>2008-02-11 13:35:30 -0500
commit739a463539946323b09e4c22f5fdd38395add1e1 (patch)
treee29146827cadbb443f1ae72a5bbea61357e987f4 /Source/cmMakefile.h
parent968c53ff6f42eb3e60a10009c308017aea5e0506 (diff)
downloadcmake-739a463539946323b09e4c22f5fdd38395add1e1.tar.gz
ENH: Add cmMakefile::NeedBackwardsCompatibility method to pass through to cmLocalGenerator::NeedBackwardsCompatibility for convenience.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 5664e2587a..12545e979d 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -123,6 +123,13 @@ public:
{ return this->LocalGenerator;}
/**
+ * Test whether compatibility is set to a given version or lower.
+ */
+ bool NeedBackwardsCompatibility(unsigned int major,
+ unsigned int minor,
+ unsigned int patch = 0xFFu);
+
+ /**
* Perform FinalPass, Library dependency analysis etc before output of the
* makefile.
*/