Skip to content

Commit

Permalink
add "/Z7" for cpp-tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
drelaptop committed Jan 16, 2019
1 parent 06a9fcb commit 9e6471b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cpp-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ if(APPLE)
set_xcode_property(${APP_NAME} ASSETCATALOG_COMPILER_APPICON_NAME "AppIcon-${APP_NAME}")
endif()
elseif(WINDOWS)
# "too large PDB" error often occurs in cpp-tests when using default "/Zi"
target_compile_options(${APP_NAME} PRIVATE /Z7)
cocos_copy_target_dll(${APP_NAME} COPY_TO ${APP_RES_DIR}/..)
endif()

Expand Down

0 comments on commit 9e6471b

Please sign in to comment.