vcxproj generator: append version suffix only to library targets
Task-number: QTBUG-38066 Change-Id: I2f1635f2cb34acb388c380fc2fc3fbe4df04bb03 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
10a0ac759e
commit
826ab028a8
@ -1002,8 +1002,10 @@ void VcprojGenerator::initConfiguration()
|
|||||||
|
|
||||||
// The target name could have been changed.
|
// The target name could have been changed.
|
||||||
conf.PrimaryOutput = project->first("TARGET").toQString();
|
conf.PrimaryOutput = project->first("TARGET").toQString();
|
||||||
if ( !conf.PrimaryOutput.isEmpty() && !project->first("TARGET_VERSION_EXT").isEmpty() && project->isActiveConfig("shared"))
|
if (!conf.PrimaryOutput.isEmpty() && project->first("TEMPLATE") == "vclib"
|
||||||
|
&& project->isActiveConfig("shared")) {
|
||||||
conf.PrimaryOutput.append(project->first("TARGET_VERSION_EXT").toQString());
|
conf.PrimaryOutput.append(project->first("TARGET_VERSION_EXT").toQString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conf.CompilerVersion >= NET2012) {
|
if (conf.CompilerVersion >= NET2012) {
|
||||||
|
Loading…
Reference in New Issue
Block a user