Split out VC'08 CharacterSet attribute to allow extensions by add-ons

This commit is contained in:
Jason Perkins 2013-01-23 11:23:39 -05:00
parent 8e7da0f3be
commit 24708fcb21

View File

@ -189,7 +189,7 @@
_p(3, 'UseOfMFC="%d"', iif(cfg.flags.StaticRuntime, 1, 2))
end
_p(3,'CharacterSet="%s"', iif(cfg.flags.Unicode, 1, 2))
vc200x.ConfigurationCharacterSet(cfg)
if cfg.flags.Managed then
_p(3,'ManagedExtensions="1"')
@ -198,6 +198,11 @@
_p(3,'>')
end
function vc200x.ConfigurationCharacterSet(cfg)
_p(3,'CharacterSet="%s"', iif(cfg.flags.Unicode, 1, 2))
end
--
-- Write out an empty configuration element for a build configuration/