mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
cmVisualStudio10TargetGenerator: use language extension for objects
See: #27552
This commit is contained in:
1 parent
3b9cd510d7
commit
e4f6701ad4
1 file changed
+4
-1
@@ -2746,7 +2746,10 @@ void cmVisualStudio10TargetGenerator::WriteAllSources(Elem& e0)
|
||||
customObjectName = this->GeneratorTarget->GetObjectName(si.Source);
|
||||
}
|
||||
} else {
|
||||
customObjectName = cmStrCat(std::move(customObjectName), ".obj");
|
||||
customObjectName =
|
||||
cmStrCat(std::move(customObjectName),
|
||||
this->GlobalGenerator->GetLanguageOutputExtension(
|
||||
si.Source->GetLanguage()));
|
||||
}
|
||||
if (!customObjectName.empty()) {
|
||||
std::string outputName = "ObjectFileName";
|
||||
|
||||
Reference in new issue
Block a user