mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Upgrade codebase to C++ 20 + fix warnings + update submodules (#6115)
This commit is contained in:
		
							parent
							
								
									90b418fd1a
								
							
						
					
					
						commit
						cbd5d1c15c
					
				
					 67 changed files with 6837 additions and 7475 deletions
				
			
		|  | @ -23,12 +23,12 @@ add_library(input_common STATIC | |||
|     udp/udp.h | ||||
| ) | ||||
| 
 | ||||
| if(SDL2_FOUND) | ||||
| if(ENABLE_SDL2) | ||||
|     target_sources(input_common PRIVATE | ||||
|         sdl/sdl_impl.cpp | ||||
|         sdl/sdl_impl.h | ||||
|     ) | ||||
|     target_link_libraries(input_common PRIVATE SDL2) | ||||
|     target_link_libraries(input_common PRIVATE SDL2::SDL2) | ||||
|     target_compile_definitions(input_common PRIVATE HAVE_SDL2) | ||||
| endif() | ||||
| 
 | ||||
|  | @ -36,3 +36,4 @@ create_target_directory_groups(input_common) | |||
| target_link_libraries(input_common PUBLIC core PRIVATE common ${Boost_LIBRARIES}) | ||||
| target_include_directories(input_common PRIVATE ${LIBUSB_INCLUDE_DIR}) | ||||
| target_link_libraries(input_common PUBLIC ${LIBUSB_LIBRARIES}) | ||||
| set_target_properties(input_common PROPERTIES INTERPROCEDURAL_OPTIMIZATION ${ENABLE_LTO}) | ||||
|  |  | |||
|  | @ -10,6 +10,7 @@ | |||
| #include <mutex> | ||||
| #include <thread> | ||||
| #include <unordered_map> | ||||
| #include <vector> | ||||
| #include "common/common_types.h" | ||||
| #include "common/threadsafe_queue.h" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue