mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:50:06 +00:00 
			
		
		
		
	Enable debug artifacts for Windows release builds
This commit is contained in:
		
							parent
							
								
									fe831cf65a
								
							
						
					
					
						commit
						b18491b2a0
					
				
					 4 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										9
									
								
								external/mapbox-gl-native.cmake
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								external/mapbox-gl-native.cmake
									
										
									
									
										vendored
									
									
								
							|  | @ -10,6 +10,15 @@ find_package(ZLIB) | |||
| target_include_directories(mbgl-core PRIVATE ${ZLIB_INCLUDE_DIRS}) | ||||
| target_link_libraries(mbgl-core INTERFACE ${ZLIB_LIBRARIES}) | ||||
| 
 | ||||
| if (MSVC) | ||||
|     # Produce PDB file for debug | ||||
|     target_compile_options(mbgl-core PRIVATE "$<$<CONFIG:Release>:/Zi>") | ||||
|     target_compile_options(qmaplibregl PRIVATE "$<$<CONFIG:Release>:/Zi>") | ||||
|     target_link_options(qmaplibregl PRIVATE "$<$<CONFIG:Release>:/DEBUG>") | ||||
|     target_link_options(qmaplibregl PRIVATE "$<$<CONFIG:Release>:/OPT:REF>") | ||||
|     target_link_options(qmaplibregl PRIVATE "$<$<CONFIG:Release>:/OPT:ICF>") | ||||
| endif() | ||||
| 
 | ||||
| set(MBGL_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/mapbox-gl-native/include | ||||
|                      ${CMAKE_CURRENT_SOURCE_DIR}/mapbox-gl-native/platform/qt/include PARENT_SCOPE) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat