diff options
author | 2019-02-27 01:18:26 +1100 | |
---|---|---|
committer | 2019-02-27 01:18:26 +1100 | |
commit | 3fd0ec28725f415beb3fdc79ffd2eaf58791a50c (patch) | |
tree | dd68d72abce30932b41764fd599919b9a4811e36 /docs/release/scripts/genie.lua | |
parent | 55d620653d8109063c371d2a62574d8426308f2b (diff) |
0.207 Release filestag207
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r-- | docs/release/scripts/genie.lua | 72 |
1 files changed, 68 insertions, 4 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua index 46a4f9310d9..58571d1ffb8 100644 --- a/docs/release/scripts/genie.lua +++ b/docs/release/scripts/genie.lua @@ -481,7 +481,7 @@ flags { "StaticRuntime", } -configuration { "vs*" } +configuration { "vs20*" } buildoptions { "/bigobj", } @@ -496,13 +496,41 @@ configuration { "vs*" } end -configuration { "Debug", "vs*" } +configuration { "Debug", "vs20*" } flags { "Symbols", "NoMultiProcessorCompilation", } -configuration { "Release", "vs*" } +configuration { "Release", "vs20*" } + flags { + "Optimize", + "NoEditAndContinue", + "NoIncrementalLink", + } + +configuration { "vsllvm" } + buildoptions { + "/bigobj", + } + flags { + "NoPCH", + "ExtraWarnings", + } + if not _OPTIONS["NOWERROR"] then + flags{ + "FatalWarnings", + } + end + + +configuration { "Debug", "vsllvm" } + flags { + "Symbols", + "NoMultiProcessorCompilation", + } + +configuration { "Release", "vsllvm" } flags { "Optimize", "NoEditAndContinue", @@ -1266,8 +1294,17 @@ configuration { "mingw-clang" } } end +configuration { "vsllvm" } + defines { + "XML_STATIC", + "WIN32", + "_WIN32", + "_CRT_NONSTDC_NO_DEPRECATE", + "_CRT_SECURE_NO_DEPRECATE", + "_CRT_STDIO_LEGACY_WIDE_SPECIFIERS", + } -configuration { "vs*" } +configuration { "vs20*" } defines { "XML_STATIC", "WIN32", @@ -1276,6 +1313,7 @@ configuration { "vs*" } "_CRT_SECURE_NO_DEPRECATE", "_CRT_STDIO_LEGACY_WIDE_SPECIFIERS", } + -- Windows Store/Phone projects already link against the available libraries. if _OPTIONS["vs"]==nil or not (string.startswith(_OPTIONS["vs"], "winstore8") or string.startswith(_OPTIONS["vs"], "winphone8")) then links { @@ -1417,6 +1455,32 @@ configuration { "winphone8* or winstore8*" } linkoptions { "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata } +configuration { "vsllvm" } + buildoptions { + "-Wno-tautological-constant-out-of-range-compare", + "-Wno-ignored-qualifiers", + "-Wno-missing-field-initializers", + "-Wno-ignored-pragma-optimize", + "-Wno-unknown-warning-option", + "-Wno-unused-function", + "-Wno-unused-label", + "-Wno-unused-local-typedef", + "-Wno-unused-const-variable", + "-Wno-unused-parameter", + "-Wno-unneeded-internal-declaration", + "-Wno-unused-private-field", + "-Wno-missing-braces", + "-Wno-unused-variable", + "-Wno-tautological-pointer-compare", + "-Wno-nonportable-include-path", + "-Wno-enum-conversion", + "-Wno-pragma-pack", + "-Wno-new-returns-null", + "-Wno-sign-compare", + "-Wno-switch", + "-Wno-tautological-undefined-compare", + "-Wno-deprecated-declarations", + } -- adding this till we sort out asserts in debug mode |