diff options
author | 2019-02-04 10:05:46 -0800 | |
---|---|---|
committer | 2019-02-04 13:05:46 -0500 | |
commit | e769e76ce4fb38d535cf32d27cf35c278ff207e0 (patch) | |
tree | 8568a04c0196c576ff8d8a2a3f2bbb8d9b1bc225 /scripts/src/3rdparty.lua | |
parent | e22ffab3fa855e8624d090996b53376d4c6756e0 (diff) |
enable sub-second snapshot timers (nw) (#4493)
* enable sub-second snapshot timers (nw)
* switch to attotime, accept doubles
* support LLVM extension in MSVC
make vsllvm
using extension from here:
https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rw-r--r-- | scripts/src/3rdparty.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 2ccfa749e19..2a31b4ee392 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -633,6 +633,12 @@ end "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration } + configuration { "vsllvm" } + buildoptions { + "-Wno-unused-function", + "-Wno-enum-conversion", + } + configuration { } defines { "WORDS_BIGENDIAN=0", @@ -970,6 +976,12 @@ end "SQLITE_OS_WINRT", } + configuration { "vsllvm" } + buildoptions { + "-Wno-deprecated-declarations", + "-Wno-unused-variable", + } + configuration { } files { @@ -1216,6 +1228,13 @@ project "bgfx" "/wd4611", -- warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable "/wd4310", -- warning C4310: cast truncates constant value } + + configuration { "vsllvm" } + buildoptions { + "-Wno-unneeded-internal-declaration", + "-Wno-unused-const-variable", + } + if _OPTIONS["vs"]=="intel-15" then buildoptions { "/Qwd906", -- message #906: effect of this "#pragma pack" directive is local to function "xxx" @@ -1389,6 +1408,15 @@ project "portaudio" "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration } + configuration { "vsllvm" } + buildoptions { + "-Wno-deprecated-declarations", + "-Wno-missing-braces", + "-Wno-unused-variable", + "-Wno-switch", + "-Wno-unused-function", + } + configuration { "gmake or ninja" } buildoptions_c { "-Wno-strict-prototypes", |