diff options
author | Brad King <brad.king@kitware.com> | 2010-12-16 19:00:17 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-12-16 19:00:17 (GMT) |
commit | ed9979f9316ff34feea6da4c736f10cd98774b21 (patch) | |
tree | ebe95d55dc04d4d45291661e33c4cac9ac65c9cc /Source/cmMakefileTargetGenerator.cxx | |
parent | 419302e2d6ebdbcdb29c97a314f707ff34ea0d08 (diff) | |
parent | 3e279971fb81cb3c810b35869ad335d50a98c4ab (diff) | |
download | CMake-ed9979f9316ff34feea6da4c736f10cd98774b21.zip CMake-ed9979f9316ff34feea6da4c736f10cd98774b21.tar.gz CMake-ed9979f9316ff34feea6da4c736f10cd98774b21.tar.bz2 |
Merge topic 'link-depend-def-file'
3e27997 Make link rule depend on ".def" file (#11014)
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 95f2868..9dcd8f1 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1527,6 +1527,12 @@ void cmMakefileTargetGenerator this->LocalGenerator->AppendRuleDepend(depends, this->BuildFileNameFull.c_str()); + // Add a dependency on the link definitions file, if any. + if(!this->ModuleDefinitionFile.empty()) + { + depends.push_back(this->ModuleDefinitionFile); + } + // Add dependencies on the external object files. for(std::vector<std::string>::const_iterator obj = this->ExternalObjects.begin(); |