diff options
author | Tim Grothe <Tim.Grothe@gmail.com> | 2015-11-02 14:24:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-04 14:15:14 (GMT) |
commit | e7e713cc0533cd8f1ef47de4cdfd895d33545502 (patch) | |
tree | 944b7abc1e1706a217c7206f7bda265711437126 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 247c168b987a8c9c479112c13078aa2e5db37773 (diff) | |
download | CMake-e7e713cc0533cd8f1ef47de4cdfd895d33545502.zip CMake-e7e713cc0533cd8f1ef47de4cdfd895d33545502.tar.gz CMake-e7e713cc0533cd8f1ef47de4cdfd895d33545502.tar.bz2 |
VS: Add module definition `.def` files to .vcxproj files (#15313)
Make them appear in the IDE project tree for reference by developers.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 9e2dc65..6e1fb5b 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1613,6 +1613,12 @@ void cmVisualStudio10TargetGenerator::WriteAllSources() (*this->BuildFileStream ) << cmVS10EscapeXML(obj) << "\" />\n"; } + if (cmSourceFile const* defsrc = + this->GeneratorTarget->GetModuleDefinitionFile("")) + { + this->WriteSource("None", defsrc); + } + if (this->IsMissingFiles) { this->WriteMissingFiles(); |