VS: Add module definition `.def` files to .vcxproj files (#15313)
Make them appear in the IDE project tree for reference by developers.
This commit is contained in:
parent
247c168b98
commit
e7e713cc05
|
@ -1613,6 +1613,12 @@ void cmVisualStudio10TargetGenerator::WriteAllSources()
|
||||||
(*this->BuildFileStream ) << cmVS10EscapeXML(obj) << "\" />\n";
|
(*this->BuildFileStream ) << cmVS10EscapeXML(obj) << "\" />\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cmSourceFile const* defsrc =
|
||||||
|
this->GeneratorTarget->GetModuleDefinitionFile(""))
|
||||||
|
{
|
||||||
|
this->WriteSource("None", defsrc);
|
||||||
|
}
|
||||||
|
|
||||||
if (this->IsMissingFiles)
|
if (this->IsMissingFiles)
|
||||||
{
|
{
|
||||||
this->WriteMissingFiles();
|
this->WriteMissingFiles();
|
||||||
|
|
Loading…
Reference in New Issue