Break link between target and imp lib extension; setting a custom target extension will no longer change the imp lib extension
This commit is contained in:
parent
5912e3bbdf
commit
0ff8a15947
@ -61,7 +61,7 @@
|
||||
|
||||
prefix = cfg[field.."prefix"] or cfg.targetprefix or prefix
|
||||
suffix = cfg[field.."suffix"] or cfg.targetsuffix or suffix
|
||||
extension = cfg[field.."extension"] or cfg.targetextension or extension
|
||||
extension = cfg[field.."extension"] or extension
|
||||
|
||||
local info = {}
|
||||
info.directory = project.getrelative(cfg.project, directory)
|
||||
|
@ -112,3 +112,17 @@
|
||||
i = prepare()
|
||||
test.isequal("libMyProject.a", i.name)
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
-- The import library extension should change if the a
|
||||
-- custom target extension is set.
|
||||
--
|
||||
|
||||
function suite.impLibExtensionUnmodified_OnCustomTargetExt()
|
||||
system "windows"
|
||||
kind "SharedLib"
|
||||
targetextension ".mil"
|
||||
i = prepare()
|
||||
test.isequal("MyProject.lib", i.name)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user