summaryrefslogtreecommitdiff
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-18 11:12:21 -0400
committerKen Martin <ken.martin@kitware.com>2001-05-18 11:12:21 -0400
commit16fc8d78f18a567e9f9b23605caa25865f5b30d6 (patch)
tree89fc5e950dd36d8cee6b95d9fbfbb5024b9e1d16 /Source/cmUnixMakefileGenerator.cxx
parent06429282f5072df67016b914a53aedc8406178d5 (diff)
downloadcmake-16fc8d78f18a567e9f9b23605caa25865f5b30d6.tar.gz
added SetLocal method
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 71936d54f5..081a6c9748 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -875,3 +875,17 @@ void cmUnixMakefileGenerator::OutputMakeRule(std::ostream& fout,
}
+
+void cmUnixMakefileGenerator::SetLocal (bool local)
+{
+ if (local)
+ {
+ m_CacheOnly = false;
+ m_Recurse = false;
+ }
+ else
+ {
+ m_CacheOnly = true;
+ m_Recurse = true;
+ }
+}