Fix premake filter mistake that broke debug builds (and likely any build other than release)

This commit is contained in:
chss95cs@gmail.com 2022-10-08 10:10:36 -07:00
parent 8f7f7dc6ad
commit d8c94b1aee
8 changed files with 17 additions and 5 deletions

View File

@ -10,11 +10,7 @@ project("xenia-cpu")
"xenia-base", "xenia-base",
"mspack", "mspack",
}) })
filter({"configurations:Release", "platforms:Windows"})
buildoptions({
"/Os",
"/O1"
})
includedirs({ includedirs({
project_root.."/third_party/llvm/include", project_root.."/third_party/llvm/include",
}) })
@ -27,3 +23,8 @@ project("xenia-cpu")
include("testing") include("testing")
include("ppc/testing") include("ppc/testing")
filter({"configurations:Release", "platforms:Windows"})
buildoptions({
"/Os",
"/O1"
})

View File

@ -15,6 +15,7 @@ project("xenia-ui-d3d12")
"/Os", "/Os",
"/O1" "/O1"
}) })
filter {}
local_platform_files() local_platform_files()
files({ files({
"../shaders/bytecode/d3d12_5_1/*.h", "../shaders/bytecode/d3d12_5_1/*.h",

View File

@ -15,6 +15,7 @@ project("xenia-ui-vulkan")
"/Os", "/Os",
"/O1" "/O1"
}) })
filter {}
includedirs({ includedirs({
project_root.."/third_party/Vulkan-Headers/include", project_root.."/third_party/Vulkan-Headers/include",
}) })

View File

@ -16,6 +16,8 @@ project("xenia-vfs")
"/Os", "/Os",
"/O1" "/O1"
}) })
filter {}
recursive_platform_files() recursive_platform_files()
removefiles({"vfs_dump.cc"}) removefiles({"vfs_dump.cc"})

View File

@ -16,6 +16,8 @@ project("capstone")
"/Os", "/Os",
"/O1" "/O1"
}) })
filter {}
includedirs({ includedirs({
"capstone", "capstone",
"capstone/include", "capstone/include",

2
third_party/fmt.lua vendored
View File

@ -13,6 +13,8 @@ project("fmt")
"/Os", "/Os",
"/O1" "/O1"
}) })
filter {}
includedirs({ includedirs({
"fmt/include", "fmt/include",
}) })

View File

@ -15,6 +15,8 @@ project("glslang-spirv")
"/Os", "/Os",
"/O1" "/O1"
}) })
filter {}
files({ files({
"glslang/SPIRV/bitutils.h", "glslang/SPIRV/bitutils.h",
"glslang/SPIRV/disassemble.cpp", "glslang/SPIRV/disassemble.cpp",

View File

@ -16,6 +16,7 @@ project("imgui")
"/Os", "/Os",
"/O1" "/O1"
}) })
filter{}
files({ files({
"imgui/imconfig.h", "imgui/imconfig.h",
"imgui/imgui.cpp", "imgui/imgui.cpp",