Skip to content

Commit 4f2f33b

Browse files
committed
UPBGE: Remove /bigobj option that caused issue on MSVC 2013
When we compiled upbge with MSVC 2015 we needed /bigobj option to build in debug mode else we had compilation errors. But this has a bad effect on MSCV 2013: http://pasteall.org/pic/show.php?id=113567 Debug information format was empty. When this option is empty, we can't use breakpoint to debug in MSVC 2013. For now I manually set it wit /Zi (the correct option). But as we build upbge with MSVC 2013 and that this commit that added /bigobj flag had this indesirable effect, I remove this commit for now because we don't need it on MSVC 2013. If we want to do the things correctly, we have to restore /bigobj only for MSVC 2015 (if (MSVC14) in cmake) and find a way to fill debug informations format field with /Zi.
1 parent 50e3447 commit 4f2f33b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

build_files/cmake/macros.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,12 +1309,6 @@ macro(blender_project_hack_post)
13091309
set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ")
13101310
endif()
13111311
endif()
1312-
1313-
# -------------------------------------------------------------------------------------
1314-
# workaround to increase the number of sections for object file format in MSVC compiler
1315-
if(MSVC)
1316-
set(CMAKE_CXX_FLAGS_DEBUG "/bigobj ")
1317-
endif()
13181312

13191313
endmacro()
13201314

0 commit comments

Comments
 (0)