Added OmitDefaultLibrary flag.

This commit is contained in:
Manu Evans 2013-10-29 17:10:01 +10:00
parent 3b5a070d42
commit 40c846c2fe
3 changed files with 8 additions and 0 deletions

View File

@ -238,6 +238,7 @@
"NoFramePointer",
"NoImplicitLink",
"NoImportLib",
"OmitDefaultLibrary",
"NoIncrementalLink",
"NoManifest",
"NoMinimalRebuild",

View File

@ -297,6 +297,7 @@
"omitFramePointers",
"stringPooling",
"runtimeLibrary",
"omitDefaultLib",
"exceptionHandling",
"runtimeTypeInfo",
"bufferSecurityCheck",
@ -1098,6 +1099,11 @@
end
end
function vc2010.omitDefaultLib(cfg)
if cfg.flags.OmitDefaultLibrary then
_p(3,'<OmitDefaultLibName>true</OmitDefaultLibName>')
end
end
function vc2010.runtimeTypeInfo(cfg)
if cfg.flags.NoRTTI and not cfg.flags.Managed then

View File

@ -28,6 +28,7 @@
flags = {
SEH = "/EHa",
Symbols = "/Z7",
OmitDefaultLibrary = "/Zl",
},
optimize = {
Off = "/Od",