Added masm handling of seh exception handling for VS2010 and above
This commit is contained in:
parent
6907f6785c
commit
f14090974a
@ -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, "*", ";", "")
|
||||
|
Loading…
Reference in New Issue
Block a user