summaryrefslogtreecommitdiff
path: root/Source/cmGlobalBorlandMakefileGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-18 16:39:11 -0500
committerBrad King <brad.king@kitware.com>2013-12-20 09:35:20 -0500
commitbd11de085757f170c5880d99291048b9f512a120 (patch)
tree26183dc20d16c8118633b1add7ae1417145ec5ee /Source/cmGlobalBorlandMakefileGenerator.h
parent2a384e08cc0809fec75ebb20be585fb5a1bf591a (diff)
downloadcmake-bd11de085757f170c5880d99291048b9f512a120.tar.gz
Makefile: Allow "gmake target1 target2 -j" (#14312)
Add the .NOTPARALLEL target to each local Makefile command-line interface entry point file so that even with -j we launch only one "make -f Makefile2" at a time. The actual build rules in Makefile2 and lower will still run in parallel. Do not add .NOTPARALLEL for Borland or Watcom make tools because they do not tolerate it. Other make tools that do not understand .NOTPARALLEL will not be hurt. Suggested-by: Robert Luberda <robert-cmake@debian.org>
Diffstat (limited to 'Source/cmGlobalBorlandMakefileGenerator.h')
-rw-r--r--Source/cmGlobalBorlandMakefileGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalBorlandMakefileGenerator.h b/Source/cmGlobalBorlandMakefileGenerator.h
index bd3db3eaee..70004ea3ac 100644
--- a/Source/cmGlobalBorlandMakefileGenerator.h
+++ b/Source/cmGlobalBorlandMakefileGenerator.h
@@ -44,6 +44,8 @@ public:
*/
virtual void EnableLanguage(std::vector<std::string>const& languages,
cmMakefile *, bool optional);
+
+ virtual bool AllowNotParallel() const { return false; }
};
#endif