Skip to content

Commit

Permalink
bigobj
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Apr 14, 2024
1 parent 9fda77e commit 33e71ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ message(STATUS "C++ standard: ${CMAKE_CXX_STANDARD}")

add_definitions(-DTHROW_UNKNOWN_KEY)

add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/bigobj>")

option(ENABLE_SEQUENTIAL_PARSE "parse json sequential more efficient if the json fields sequences are the same with struct fields" OFF)
if (${ENABLE_SEQUENTIAL_PARSE})
ADD_DEFINITIONS(-DSEQUENTIAL_PARSE)
Expand Down

0 comments on commit 33e71ec

Please sign in to comment.