diff options
author | 2019-10-02 06:30:05 +0200 | |
---|---|---|
committer | 2019-10-02 14:30:05 +1000 | |
commit | fc31772d537941104ca810fbc3b5a13584c88835 (patch) | |
tree | c0c1e106a5d687074d2b775e64c0fab4de2ca4a9 /scripts/genie.lua | |
parent | 5707a77cfe11eba057de128b6844a671753ccc3d (diff) |
vs2019 fixes, initial clang-cl support (#5698)
* Add initial clangcl support
* Fix uwp builds' vs version typos
* Add missing vs2019 toolchain.lua bits
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 707fc4d1d79..734508a04f2 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1443,6 +1443,29 @@ if _OPTIONS["vs"]=="intel-15" then } end +if _OPTIONS["vs"]=="clangcl" then + buildoptions { + "-Wno-enum-conversion", + "-Wno-ignored-qualifiers", + "-Wno-missing-braces", + "-Wno-missing-field-initializers", + "-Wno-new-returns-null", + "-Wno-nonportable-include-path", + "-Wno-pointer-bool-conversion", + "-Wno-pragma-pack", + "-Wno-switch", + "-Wno-tautological-constant-out-of-range-compare", + "-Wno-tautological-pointer-compare", + "-Wno-unknown-warning-option", + "-Wno-unused-const-variable", + "-Wno-unused-function", + "-Wno-unused-label", + "-Wno-unused-local-typedef", + "-Wno-unused-private-field", + "-Wno-unused-variable", + } +end + linkoptions { "/ignore:4221", -- LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library } |