Added option to disable PDB file generation.
This commit is contained in:
		
							parent
							
								
									25f0733a60
								
							
						
					
					
						commit
						bd9c097fea
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -35,6 +35,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") | ||||||
|     target_link_options(common_options |     target_link_options(common_options | ||||||
|     INTERFACE |     INTERFACE | ||||||
|         $<IF:$<CONFIG:Debug>,/NODEFAULTLIB:LIBCMT,/DEBUG;/OPT:REF> |         $<IF:$<CONFIG:Debug>,/NODEFAULTLIB:LIBCMT,/DEBUG;/OPT:REF> | ||||||
|  |         $<$<BOOL:${DESKTOP_APP_NO_PDB}>:/DEBUG:NONE> | ||||||
|     ) |     ) | ||||||
| 
 | 
 | ||||||
|     if (build_win64) |     if (build_win64) | ||||||
|  |  | ||||||
|  | @ -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_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_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_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(DESKTOP_APP_QTWAYLANDCLIENT_PRIVATE_HEADERS "" CACHE STRING "QtWaylandClient headers location.") | ||||||
| 
 | 
 | ||||||
| set(dont_bundle_fonts 0) | set(dont_bundle_fonts 0) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 23rd
						23rd