Open sh-dave opened 6 years ago
/bigobj is now the default (only downside I see mentioned in the internetz is a lack of compatibility with VS < 2005). Should add an option for compiler arguments nonetheless...
I don't actually run into this issue anymore, as i use the { notInList }
khamake option for 99% of our assets now. If this change doesn't affect anything else negatively keep it in, otherwise you could also revert it.
But yesterday I ran into that issue when compiling Krom. Also taught Visual Studio to default to 64 bit compilers because of that. Visual Studio by default doesn't like big projects.
C:\...somethingsomething...\build\windows-build\Sources\src\kha\_Assets\SoundList.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
Khamake (Koremake probably as well) needs an option to pass additional compiler/linker flags. Currently there only is 'addCDefine' for preprocessor arguments.