Added per file rtti generation for VS
m.basicRuntimeChecks,
m.exceptionHandling,
m.compileAsManaged,
+ m.runtimeTypeInfo,
}
else
return {
end
end
- function m.runtimeTypeInfo(cfg)
+ function m.runtimeTypeInfo(cfg, condition)
if cfg.rtti == p.OFF and cfg.clr == p.OFF then
- m.element("RuntimeTypeInfo", nil, "false")
+ m.element("RuntimeTypeInfo", condition, "false")
elseif cfg.rtti == p.ON then
- m.element("RuntimeTypeInfo", nil, "true")
+ m.element("RuntimeTypeInfo", condition, "true")
end
end
