Merge topic 'vs-midl-absolute-OutputDirectory'

0b54e836 VS: Specify absolute output directory for the Midl tool
This commit is contained in:
Brad King 2015-02-24 09:12:41 -05:00 committed by CMake Topic Stage
commit 3bda0717b3
1 changed files with 1 additions and 1 deletions

View File

@ -2522,7 +2522,7 @@ WriteMidlOptions(std::string const& /*config*/,
}
this->WriteString("%(AdditionalIncludeDirectories)"
"</AdditionalIncludeDirectories>\n", 0);
this->WriteString("<OutputDirectory>$(IntDir)</OutputDirectory>\n", 3);
this->WriteString("<OutputDirectory>$(ProjectDir)/$(IntDir)</OutputDirectory>\n", 3);
this->WriteString("<HeaderFileName>%(Filename).h</HeaderFileName>\n", 3);
this->WriteString(
"<TypeLibraryName>%(Filename).tlb</TypeLibraryName>\n", 3);