mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +00:00 
			
		
		
		
	Add debug symbols to ImGui
This commit is contained in:
		
							parent
							
								
									6cc797ca3a
								
							
						
					
					
						commit
						c42d60a97d
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								external/imgui.cmake
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								external/imgui.cmake
									
										
									
									
										vendored
									
									
								
							|  | @ -39,6 +39,13 @@ target_compile_definitions(imgui PRIVATE IMGUI_ENABLE_FREETYPE) | |||
| target_link_libraries(imgui PRIVATE Qt${QT_VERSION_MAJOR}::Widgets | ||||
|                                     Freetype::Freetype) | ||||
| 
 | ||||
| if (MSVC) | ||||
|     # Produce PDB file for debug | ||||
|     target_compile_options(imgui PRIVATE "$<$<CONFIG:Release>:/Zi>") | ||||
| else() | ||||
|     target_compile_options(imgui PRIVATE "$<$<CONFIG:Release>:-g>") | ||||
| endif() | ||||
| 
 | ||||
| set(IMGUI_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/imgui | ||||
|                        ${CMAKE_CURRENT_SOURCE_DIR}/imgui-backend-qt | ||||
|     PARENT_SCOPE) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat