diff options
author | Kai Wang <wangkai86@huawei.com> | 2021-01-11 06:55:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-11 17:14:04 (GMT) |
commit | 4d509437cb23f372845fba98fc8d57887c53fa70 (patch) | |
tree | ad4fed6ba194bff984b2011ee5d9dd2b954cbd52 /Source/cmGlobalNMakeMakefileGenerator.cxx | |
parent | aaebbd200bfc4c4802f95daf472fccc69cc04dd8 (diff) | |
download | CMake-4d509437cb23f372845fba98fc8d57887c53fa70.zip CMake-4d509437cb23f372845fba98fc8d57887c53fa70.tar.gz CMake-4d509437cb23f372845fba98fc8d57887c53fa70.tar.bz2 |
cmDepends: disable long line dependencies for nmake
This is a follow-up to commit b696f78073 (cmDepends: merge dependers of
depend makefile, 2020-12-18). NMake of visual studio has many versions
that not support long line dependencies of make rule.
Signed-off-by: Wangkai <wangkai86@huawei.com>
Fixes: #21681
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNMakeMakefileGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx index c4bec23..36f583f 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.cxx +++ b/Source/cmGlobalNMakeMakefileGenerator.cxx @@ -21,6 +21,8 @@ cmGlobalNMakeMakefileGenerator::cmGlobalNMakeMakefileGenerator(cmake* cm) this->PassMakeflags = true; this->UnixCD = false; this->MakeSilentFlag = "/nologo"; + // nmake breaks on '!' in long-line dependencies + this->ToolSupportsLongLineDependencies = false; } void cmGlobalNMakeMakefileGenerator::EnableLanguage( |