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-gpu-d3d12-trace-viewer",
|
||||||
"xenia-ui-window-d3d12-demo",
|
"xenia-ui-window-d3d12-demo",
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
|
||||||
|
|
||||||
filter("platforms:Windows")
|
filter("platforms:Windows")
|
||||||
-- Only create the .user file if it doesn't already exist.
|
-- Only create the .user file if it doesn't already exist.
|
||||||
|
|
|
@ -23,8 +23,7 @@ project("xenia-cpu")
|
||||||
|
|
||||||
include("testing")
|
include("testing")
|
||||||
include("ppc/testing")
|
include("ppc/testing")
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
|
||||||
|
|
|
@ -12,12 +12,11 @@ project("xenia-debug-ui")
|
||||||
"xenia-cpu",
|
"xenia-cpu",
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter{}
|
||||||
filter{}
|
|
||||||
defines({
|
defines({
|
||||||
})
|
})
|
||||||
includedirs({
|
includedirs({
|
||||||
|
|
|
@ -10,12 +10,11 @@ project("xenia-ui-d3d12")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter {}
|
||||||
filter {}
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
files({
|
files({
|
||||||
"../shaders/bytecode/d3d12_5_1/*.h",
|
"../shaders/bytecode/d3d12_5_1/*.h",
|
||||||
|
|
|
@ -14,11 +14,10 @@ project("xenia-ui")
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
removefiles({"*_demo.cc"})
|
removefiles({"*_demo.cc"})
|
||||||
removefiles({"windowed_app_main_*.cc"})
|
removefiles({"windowed_app_main_*.cc"})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
|
||||||
filter("platforms:Android-*")
|
filter("platforms:Android-*")
|
||||||
-- Exports JNI functions.
|
-- Exports JNI functions.
|
||||||
wholelib("On")
|
wholelib("On")
|
||||||
|
|
|
@ -10,12 +10,11 @@ project("xenia-ui-vulkan")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter {}
|
||||||
filter {}
|
|
||||||
includedirs({
|
includedirs({
|
||||||
project_root.."/third_party/Vulkan-Headers/include",
|
project_root.."/third_party/Vulkan-Headers/include",
|
||||||
})
|
})
|
||||||
|
|
|
@ -11,12 +11,11 @@ project("xenia-vfs")
|
||||||
})
|
})
|
||||||
defines({
|
defines({
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter {}
|
||||||
filter {}
|
|
||||||
|
|
||||||
recursive_platform_files()
|
recursive_platform_files()
|
||||||
removefiles({"vfs_dump.cc"})
|
removefiles({"vfs_dump.cc"})
|
||||||
|
@ -40,4 +39,3 @@ project("xenia-vfs-dump")
|
||||||
project_root,
|
project_root,
|
||||||
})
|
})
|
||||||
include("testing")
|
include("testing")
|
||||||
|
|
||||||
|
|
|
@ -11,12 +11,11 @@ project("capstone")
|
||||||
"CAPSTONE_USE_SYS_DYN_MEM",
|
"CAPSTONE_USE_SYS_DYN_MEM",
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter {}
|
||||||
filter {}
|
|
||||||
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"capstone",
|
"capstone",
|
||||||
|
|
|
@ -8,12 +8,11 @@ project("fmt")
|
||||||
defines({
|
defines({
|
||||||
"_LIB",
|
"_LIB",
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter {}
|
||||||
filter {}
|
|
||||||
|
|
||||||
includedirs({
|
includedirs({
|
||||||
"fmt/include",
|
"fmt/include",
|
||||||
|
|
|
@ -10,12 +10,11 @@ project("glslang-spirv")
|
||||||
})
|
})
|
||||||
includedirs({
|
includedirs({
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter {}
|
||||||
filter {}
|
|
||||||
|
|
||||||
files({
|
files({
|
||||||
"glslang/SPIRV/bitutils.h",
|
"glslang/SPIRV/bitutils.h",
|
||||||
|
|
|
@ -11,12 +11,11 @@ project("imgui")
|
||||||
includedirs({
|
includedirs({
|
||||||
"imgui",
|
"imgui",
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
-- filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
-- buildoptions({
|
||||||
"/Os",
|
-- "/O1",
|
||||||
"/O1"
|
-- })
|
||||||
})
|
-- filter{}
|
||||||
filter{}
|
|
||||||
files({
|
files({
|
||||||
"imgui/imconfig.h",
|
"imgui/imconfig.h",
|
||||||
"imgui/imgui.cpp",
|
"imgui/imgui.cpp",
|
||||||
|
|
Loading…
Reference in New Issue