From 63f907ee3223b81cd500bcc62a64f6e787bc4afa Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 26 Oct 2021 11:11:35 +0200 Subject: vs2019_clang target is now used instead of vsllvm --- scripts/genie.lua | 70 ------------------------------------------------ scripts/src/3rdparty.lua | 27 ------------------- scripts/src/main.lua | 7 ----- 3 files changed, 104 deletions(-) (limited to 'scripts') diff --git a/scripts/genie.lua b/scripts/genie.lua index 5d318e2d68a..7ed354bd2e9 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -514,34 +514,6 @@ configuration { "Release", "vs20*" } } end -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", - "NoIncrementalLink", - } - -- Force Visual Studio targets to use bundled SDL2 if string.sub(_ACTION,1,4) == "vs20" and _OPTIONS["osd"]=="sdl" then if _OPTIONS["with-bundled-sdl2"]==nil then @@ -1257,19 +1229,6 @@ configuration { "mingw*" } "userenv", } -configuration { "vsllvm" } - defines { - "XML_STATIC", - "WIN32", - "_WIN32", - "_CRT_NONSTDC_NO_DEPRECATE", - "_CRT_SECURE_NO_DEPRECATE", - "_CRT_STDIO_LEGACY_WIDE_SPECIFIERS", - } - includedirs { - MAME_DIR .. "3rdparty/dxsdk/Include" - } - configuration { "vs20*" } defines { "XML_STATIC", @@ -1404,35 +1363,6 @@ 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", - "-Wno-macro-redefined", - "-Wno-narrowing", - } - configuration { } diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index a44db5ba54a..fe2d94d53d9 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -667,12 +667,6 @@ end "-include stdint.h" } - configuration { "vsllvm" } - buildoptions { - "-Wno-enum-conversion", - "-Wno-unused-function", - } - configuration { } defines { "WORDS_BIGENDIAN=0", @@ -1021,12 +1015,6 @@ end "SQLITE_OS_WINRT", } - configuration { "vsllvm" } - buildoptions { - "-Wno-deprecated-declarations", - "-Wno-unused-variable", - } - configuration { } files { @@ -1290,12 +1278,6 @@ project "bgfx" "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used } - 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" @@ -1490,15 +1472,6 @@ project "portaudio" } end - configuration { "vsllvm" } - buildoptions { - "-Wno-deprecated-declarations", - "-Wno-missing-braces", - "-Wno-switch", - "-Wno-unused-function", - "-Wno-unused-variable", - } - configuration { "gmake or ninja" } buildoptions_c { "-Wno-bad-function-cast", diff --git a/scripts/src/main.lua b/scripts/src/main.lua index bbd352b2ab4..b6b983ca51b 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -401,13 +401,6 @@ if (STANDALONE~=true) then "@echo Emitting ".. rctarget .. "vers.rc...", PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" , } - - configuration { "vsllvm" } - prebuildcommands { - "mkdir \"" .. path.translate(GEN_DIR .. "resource/","\\") .. "\" 2>NUL", - "@echo Emitting ".. rctarget .. "vers.rc...", - PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" , - } end configuration { } -- cgit v1.2.3