Set /bigobj to increase number of sections allowed in .obj files
@@ -4,6 +4,8 @@ add_requires("spdlog", "nlohmann_json", "minhook", "imgui", "sol2", "tiltedcore"
add_rules("mode.debug", "mode.release")
+add_cxflags("/bigobj")
+
if is_mode("release") then
add_ldflags("/LTCG", "/OPT:REF")
add_cxflags("/Ot", "/GL", "/Ob2", "/Oi", "/GS-")
