Never specify /O1
Leaving it as /O2 might improve performance. Stops this from being spammed: cl : command line warning D9025: overriding '/O2' with '/O1' [D:\a\xenia-canary\xenia-canary\build\glslang-spirv.vcxproj] /Os is implied by /O1; https://learn.microsoft.com/en-us/cpp/build/reference/o1-o2-minimize-size-maximize-speed?view=msvc-170
This commit is contained in:
parent
1d51ff5bfd
commit
3acf3fdcd1
|
@ -119,11 +119,10 @@ project("xenia-app")
|
|||
"xenia-gpu-d3d12-trace-viewer",
|
||||
"xenia-ui-window-d3d12-demo",
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
|
||||
filter("platforms:Windows")
|
||||
-- Only create the .user file if it doesn't already exist.
|
||||
|
|
|
@ -23,8 +23,7 @@ project("xenia-cpu")
|
|||
|
||||
include("testing")
|
||||
include("ppc/testing")
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
|
|
|
@ -12,12 +12,11 @@ project("xenia-debug-ui")
|
|||
"xenia-cpu",
|
||||
"xenia-ui",
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter{}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter{}
|
||||
defines({
|
||||
})
|
||||
includedirs({
|
||||
|
|
|
@ -10,12 +10,11 @@ project("xenia-ui-d3d12")
|
|||
"xenia-base",
|
||||
"xenia-ui",
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter {}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
local_platform_files()
|
||||
files({
|
||||
"../shaders/bytecode/d3d12_5_1/*.h",
|
||||
|
|
|
@ -14,11 +14,10 @@ project("xenia-ui")
|
|||
local_platform_files()
|
||||
removefiles({"*_demo.cc"})
|
||||
removefiles({"windowed_app_main_*.cc"})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
filter("platforms:Android-*")
|
||||
-- Exports JNI functions.
|
||||
wholelib("On")
|
||||
|
|
|
@ -10,12 +10,11 @@ project("xenia-ui-vulkan")
|
|||
"xenia-base",
|
||||
"xenia-ui",
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter {}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
includedirs({
|
||||
project_root.."/third_party/Vulkan-Headers/include",
|
||||
})
|
||||
|
|
|
@ -11,12 +11,11 @@ project("xenia-vfs")
|
|||
})
|
||||
defines({
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter {}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
|
||||
recursive_platform_files()
|
||||
removefiles({"vfs_dump.cc"})
|
||||
|
@ -40,4 +39,3 @@ project("xenia-vfs-dump")
|
|||
project_root,
|
||||
})
|
||||
include("testing")
|
||||
|
||||
|
|
|
@ -11,12 +11,11 @@ project("capstone")
|
|||
"CAPSTONE_USE_SYS_DYN_MEM",
|
||||
"_LIB",
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter {}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
|
||||
includedirs({
|
||||
"capstone",
|
||||
|
|
|
@ -8,12 +8,11 @@ project("fmt")
|
|||
defines({
|
||||
"_LIB",
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter {}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
|
||||
includedirs({
|
||||
"fmt/include",
|
||||
|
|
|
@ -10,12 +10,11 @@ project("glslang-spirv")
|
|||
})
|
||||
includedirs({
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter {}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter {}
|
||||
|
||||
files({
|
||||
"glslang/SPIRV/bitutils.h",
|
||||
|
|
|
@ -11,12 +11,11 @@ project("imgui")
|
|||
includedirs({
|
||||
"imgui",
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Os",
|
||||
"/O1"
|
||||
})
|
||||
filter{}
|
||||
-- filter({"configurations:Release", "platforms:Windows"})
|
||||
-- buildoptions({
|
||||
-- "/O1",
|
||||
-- })
|
||||
-- filter{}
|
||||
files({
|
||||
"imgui/imconfig.h",
|
||||
"imgui/imgui.cpp",
|
||||
|
|
Loading…
Reference in New Issue