File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
121121
122122 # Reference: https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically
123123 # /Zi = create a PDB file without affecting optimization
124- # /Ob2 = Controls inline expansion of functions.
124+ # /Ob3 = Controls inline expansion of functions.
125125 # /Oi = Generate intrinsic functions
126126 # /Ot = In favor of using fast code than small code
127127 # /GL = Whole program optimization
@@ -132,7 +132,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
132132 # Set optimization options for release build
133133 set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} \
134134 /Zi \
135- /Ob2 \
135+ /Ob3 \
136136 /Oi \
137137 /Ot \
138138 /GL \
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
131131 # Set optimization options for release build
132132 set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} \
133133 /Zi \
134- /Ob2 \
134+ /Ob3 \
135135 /Oi \
136136 /Ot \
137137 /GL \
@@ -144,7 +144,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
144144endif ()
145145
146146# Windows libraries
147- set (WINS_LIB
147+ set (WINS_LIB
148148 legacy_stdio_definitions
149149 d3d9
150150 d3dcompiler
You can’t perform that action at this time.
0 commit comments