mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-11-04 06:47:09 +00:00 
			
		
		
		
	Linux support. (#3)
* Compiling and running on Linux. * Fix xpointer constructor. * Convert dependencies to submodules. * Fix wchar_t usage for Linux.
This commit is contained in:
		
							
								
								
									
										13
									
								
								thirdparty/CMakeLists.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								thirdparty/CMakeLists.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
add_subdirectory(${THIRDPARTY_ROOT}/disasm)
 | 
			
		||||
 | 
			
		||||
if (NOT TARGET fmt::fmt)
 | 
			
		||||
    add_subdirectory(${THIRDPARTY_ROOT}/fmt)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
if (NOT TARGET tomlplusplus::tomlplusplus)
 | 
			
		||||
    add_subdirectory(${THIRDPARTY_ROOT}/tomlplusplus)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
if (NOT TARGET xxHash::xxhash)
 | 
			
		||||
    add_subdirectory(${THIRDPARTY_ROOT}/xxHash/cmake_unofficial)
 | 
			
		||||
endif()
 | 
			
		||||
							
								
								
									
										4
									
								
								thirdparty/disasm/disasm.c
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								thirdparty/disasm/disasm.c
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,9 @@
 | 
			
		||||
#include "dis-asm.h"
 | 
			
		||||
 | 
			
		||||
#ifndef EIO
 | 
			
		||||
#define EIO 5
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Get LENGTH bytes from info's buffer, at target address memaddr.
 | 
			
		||||
   Transfer them to myaddr.  */
 | 
			
		||||
int
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								thirdparty/fmt
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								thirdparty/fmt
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule thirdparty/fmt added at 873670ba3f
									
								
							
							
								
								
									
										1
									
								
								thirdparty/tomlplusplus
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								thirdparty/tomlplusplus
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule thirdparty/tomlplusplus added at c4369ae1d8
									
								
							
							
								
								
									
										1
									
								
								thirdparty/xxHash
									
									
									
									
										vendored
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								thirdparty/xxHash
									
									
									
									
										vendored
									
									
										Submodule
									
								
							 Submodule thirdparty/xxHash added at 2bf8313b93
									
								
							
		Reference in New Issue
	
	Block a user