mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Change how the boost target works; disable external warnings in MSVC
This commit is contained in:
		
							parent
							
								
									a0ac302a93
								
							
						
					
					
						commit
						9877bf7d48
					
				
					 5 changed files with 42 additions and 22 deletions
				
			
		|  | @ -37,7 +37,7 @@ if (MSVC) | |||
|         /Zo | ||||
|         /permissive- | ||||
|         /EHsc | ||||
|         /std:c++latest | ||||
|         /std:c++17 | ||||
|         /volatile:iso | ||||
|         /Zc:externConstexpr | ||||
|         /Zc:inline | ||||
|  | @ -46,6 +46,10 @@ if (MSVC) | |||
|         add_compile_options( | ||||
|             /MP | ||||
|             /Zc:throwingNew | ||||
|             /experimental:external | ||||
|             /external:I "${CMAKE_SOURCE_DIR}/externals" | ||||
|             /external:anglebrackets | ||||
|             /external:W0 | ||||
|         ) | ||||
|     endif() | ||||
| 
 | ||||
|  |  | |||
|  | @ -466,7 +466,7 @@ endif() | |||
| create_target_directory_groups(core) | ||||
| 
 | ||||
| target_link_libraries(core PUBLIC common PRIVATE audio_core network video_core) | ||||
| target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp fmt open_source_archives boost_libs) | ||||
| target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp fmt open_source_archives Boost::serialization) | ||||
| if (ENABLE_WEB_SERVICE) | ||||
|     target_compile_definitions(core PRIVATE -DENABLE_WEB_SERVICE) | ||||
|     target_link_libraries(core PRIVATE web_service) | ||||
|  |  | |||
|  | @ -94,7 +94,7 @@ endif() | |||
| create_target_directory_groups(video_core) | ||||
| 
 | ||||
| target_link_libraries(video_core PUBLIC common core) | ||||
| target_link_libraries(video_core PRIVATE glad nihstro-headers boost_libs) | ||||
| target_link_libraries(video_core PRIVATE glad nihstro-headers Boost::serialization) | ||||
| 
 | ||||
| if (ARCHITECTURE_x86_64) | ||||
|     target_link_libraries(video_core PUBLIC xbyak) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue