Added masm handling of seh exception handling for VS2010 and above
emitFiles = function(prj, group)
local fileCfgFunc = {
- m.excludedFromBuild
+ m.excludedFromBuild,
+ m.exceptionHandlingSEH,
}
m.emitFiles(prj, group, "Masm", nil, fileCfgFunc, function(cfg)
end
+ function m.exceptionHandlingSEH(filecfg, condition)
+ if not filecfg or filecfg.project.exceptionhandling == "SEH" then
+ m.element("UseSafeExceptionHandlers", condition, "true")
+ end
+ end
+
+
function m.extensionsToDeleteOnClean(cfg)
if #cfg.cleanextensions > 0 then
local value = table.implode(cfg.cleanextensions, "*", ";", "")
