mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	build: Update to support multi-arch builds.
This commit is contained in:
		
							parent
							
								
									0e325255f3
								
							
						
					
					
						commit
						a8848cce43
					
				
					 25 changed files with 114 additions and 66 deletions
				
			
		|  | @ -12,15 +12,9 @@ add_executable(tests | |||
|     precompiled_headers.h | ||||
|     audio_core/audio_fixures.h | ||||
|     audio_core/decoder_tests.cpp | ||||
|     video_core/shader/shader_jit_x64_compiler.cpp | ||||
| ) | ||||
| 
 | ||||
| if (ARCHITECTURE_x86_64) | ||||
|     target_sources(tests | ||||
|         PRIVATE | ||||
|             video_core/shader/shader_jit_x64_compiler.cpp | ||||
|     ) | ||||
| endif() | ||||
| 
 | ||||
| create_target_directory_groups(tests) | ||||
| 
 | ||||
| target_link_libraries(tests PRIVATE common core video_core audio_core) | ||||
|  |  | |||
|  | @ -2,6 +2,9 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "common/arch.h" | ||||
| #if CITRA_ARCH(x86_64) | ||||
| 
 | ||||
| #include <algorithm> | ||||
| #include <cmath> | ||||
| #include <memory> | ||||
|  | @ -158,3 +161,5 @@ TEST_CASE("Nested Loop", "[video_core][shader][shader_jit]") { | |||
|         REQUIRE(shader_unit_jit.registers.output[0].x.ToFloat32() == Catch::Approx(expected_out)); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| #endif // CITRA_ARCH(x86_64)
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue