used vc2010.element instead of _p for additional manifests
This commit is contained in:
parent
36d62865b1
commit
912a0e2ec3
@ -372,10 +372,12 @@
|
||||
--
|
||||
|
||||
function vc2010.manifest(cfg)
|
||||
-- no additional manifests in static lib
|
||||
if cfg.kind == premake.STATICLIB then
|
||||
return
|
||||
end
|
||||
|
||||
-- get the manifests files
|
||||
local manifests = {}
|
||||
for _, fname in ipairs(cfg.files) do
|
||||
if path.getextension(fname) == ".manifest" then
|
||||
@ -389,7 +391,7 @@
|
||||
end
|
||||
|
||||
_p(2,'<Manifest>')
|
||||
_x(3,'<AdditionalManifestFiles>%s %%(AdditionalManifestFiles)</AdditionalManifestFiles>', table.concat(manifests, " "))
|
||||
vc2010.element(3, "AdditionalManifestFiles", nil, "%s %%(AdditionalManifestFiles)", table.concat(manifests, " "))
|
||||
_p(2,'</Manifest>')
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user