diff options
author | 2020-06-24 13:48:13 +1000 | |
---|---|---|
committer | 2020-06-24 13:48:13 +1000 | |
commit | b19a1b59d85ab0e147ebdfeba46483553c7d06f4 (patch) | |
tree | 54f6cd75d1e1f038b31ee7462d0df5ef11c0d487 /docs/release/scripts/genie.lua | |
parent | 4056354229a98d6bedf950fabf302a565f99d864 (diff) |
0.222 Release filestag222
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r-- | docs/release/scripts/genie.lua | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua index 1a7ac03f4aa..0255815e367 100644 --- a/docs/release/scripts/genie.lua +++ b/docs/release/scripts/genie.lua @@ -505,6 +505,11 @@ configuration { "Release", "vs20*" } "NoEditAndContinue", "NoIncrementalLink", } + if _OPTIONS["SYMBOLS"] then + flags { + "Symbols", + } + end configuration { "vsllvm" } buildoptions { @@ -1081,6 +1086,16 @@ end "-Wno-pragma-pack" -- clang 6.0 complains when the packing change lifetime is not contained within a header file. } end + if ((version < 60000) or (_OPTIONS["targetos"]=="macosx" and (version <= 90000))) then + buildoptions { + "-Wno-missing-braces" -- std::array brace initialization not fixed until 6.0.0 (https://reviews.llvm.org/rC314838) + } + end + if (_OPTIONS["targetos"]=="macosx" and (version < 80000)) then + defines { + "TARGET_OS_OSX=1", + } + end else if (version < 70000) then print("GCC version 7.0 or later needed") @@ -1254,15 +1269,18 @@ configuration { "osx* or xcode4" } } configuration { "mingw*" } - if _OPTIONS["osd"]~="sdl" - then + if _OPTIONS["osd"]=="sdl" then + linkoptions { + "-Wl,--start-group", + } + else linkoptions { "-static", } + flags { + "LinkSupportCircularDependencies", + } end - flags { - "LinkSupportCircularDependencies", - } links { "user32", "winmm", |