1
0
Fork 0

Added option to disable PDB file generation.

This commit is contained in:
23rd 2021-03-17 12:33:50 +03:00
parent 25f0733a60
commit bd9c097fea
2 changed files with 2 additions and 0 deletions

View file

@ -35,6 +35,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_link_options(common_options
INTERFACE
$<IF:$<CONFIG:Debug>,/NODEFAULTLIB:LIBCMT,/DEBUG;/OPT:REF>
$<$<BOOL:${DESKTOP_APP_NO_PDB}>:/DEBUG:NONE>
)
if (build_win64)

View file

@ -42,6 +42,7 @@ option(DESKTOP_APP_DISABLE_CRASH_REPORTS "Disable crash report generation." ${no
option(DESKTOP_APP_DISABLE_AUTOUPDATE "Disable autoupdate." ${disable_autoupdate})
option(DESKTOP_APP_USE_HUNSPELL_ONLY "Disable system spellchecker and use bundled Hunspell only. (For debugging purposes)" OFF)
option(DESKTOP_APP_USE_ENCHANT "Use Enchant instead of bundled Hunspell. (Linux only)" OFF)
option(DESKTOP_APP_NO_PDB "Disable PDB file generation. (Windows only)" OFF)
set(DESKTOP_APP_QTWAYLANDCLIENT_PRIVATE_HEADERS "" CACHE STRING "QtWaylandClient headers location.")
set(dont_bundle_fonts 0)