Added per file rtti generation for VS
This commit is contained in:
parent
6907f6785c
commit
3ff5343769
@ -664,6 +664,7 @@
|
||||
m.basicRuntimeChecks,
|
||||
m.exceptionHandling,
|
||||
m.compileAsManaged,
|
||||
m.runtimeTypeInfo,
|
||||
}
|
||||
else
|
||||
return {
|
||||
@ -2062,11 +2063,11 @@
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user