Added masm handling of seh exception handling for VS2010 and above

This commit is contained in:
R. Blaine Whittle 2017-05-05 18:29:18 -07:00 committed by Tom van Dijck
parent 6907f6785c
commit f14090974a

View File

@ -787,7 +787,8 @@
emitFiles = function(prj, group)
local fileCfgFunc = {
m.excludedFromBuild
m.excludedFromBuild,
m.exceptionHandlingSEH,
}
m.emitFiles(prj, group, "Masm", nil, fileCfgFunc, function(cfg)
@ -1339,6 +1340,13 @@
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, "*", ";", "")