mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:10:06 +00:00 
			
		
		
		
	Merge branch 'develop' into feature/placefiles
This commit is contained in:
		
						commit
						1997d09f29
					
				
					 12 changed files with 65 additions and 12 deletions
				
			
		|  | @ -443,6 +443,21 @@ target_compile_options(supercell-wx PRIVATE | |||
|     $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Wpedantic -Werror> | ||||
| ) | ||||
| 
 | ||||
| # Address Sanitizer options | ||||
| if (SCWX_ADDRESS_SANITIZER) | ||||
|     target_compile_options(scwx-qt PRIVATE | ||||
|         $<$<CXX_COMPILER_ID:MSVC>:/fsanitize=address> | ||||
|         $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-fsanitize=address -fsanitize-recover=address> | ||||
|     ) | ||||
|     target_compile_options(supercell-wx PRIVATE | ||||
|         $<$<CXX_COMPILER_ID:MSVC>:/fsanitize=address> | ||||
|         $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-fsanitize=address -fsanitize-recover=address> | ||||
|     ) | ||||
|     target_link_options(supercell-wx PRIVATE | ||||
|         $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-fsanitize=address> | ||||
|     ) | ||||
| endif() | ||||
| 
 | ||||
| if (MSVC) | ||||
|     # Produce PDB file for debug | ||||
|     target_compile_options(scwx-qt PRIVATE "$<$<CONFIG:Release>:/Zi>") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat