mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Use custom macOS 10.15 triplets for macOS uni build
This commit is contained in:
		
							parent
							
								
									46c70d2683
								
							
						
					
					
						commit
						1e34244d8c
					
				
					 3 changed files with 19 additions and 3 deletions
				
			
		
							
								
								
									
										7
									
								
								scripts/arm64-osx-1015.cmake
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								scripts/arm64-osx-1015.cmake
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | ||||||
|  | set(VCPKG_TARGET_ARCHITECTURE arm64) | ||||||
|  | set(VCPKG_OSX_DEPLOYMENT_TARGET 10.15) | ||||||
|  | set(VCPKG_CRT_LINKAGE dynamic) | ||||||
|  | set(VCPKG_LIBRARY_LINKAGE static) | ||||||
|  | 
 | ||||||
|  | set(VCPKG_CMAKE_SYSTEM_NAME Darwin) | ||||||
|  | set(VCPKG_OSX_ARCHITECTURES arm64) | ||||||
|  | @ -1,13 +1,15 @@ | ||||||
| #!/usr/bin/bash | #!/usr/bin/env bash | ||||||
| 
 | 
 | ||||||
| # Makes a fused macOS Universal app bundle in the arm64 release preset dir | # Makes a fused macOS Universal app bundle in the arm64 release preset dir | ||||||
| # Only works if in master branch or in source tarball | # Only works if in master branch or in source tarball | ||||||
| 
 | 
 | ||||||
| set -e | set -e | ||||||
| 
 | 
 | ||||||
| cmake --preset ninja-x64_osx_vcpkg-release | rm -rf "build/ninja-x64_osx_vcpkg-release" | ||||||
|  | rm -rf "build/ninja-arm64_osx_vcpkg-release" | ||||||
|  | cmake --preset ninja-x64_osx_vcpkg-release -DVCPKG_OVERLAY_TRIPLETS=scripts/ -DVCPKG_TARGET_TRIPLET=x64-osx-1015 | ||||||
| cmake --build --preset ninja-x64_osx_vcpkg-release | cmake --build --preset ninja-x64_osx_vcpkg-release | ||||||
| cmake --preset ninja-arm64_osx_vcpkg-release | cmake --preset ninja-arm64_osx_vcpkg-release -DVCPKG_OVERLAY_TRIPLETS=scripts/ -DVCPKG_TARGET_TRIPLET=arm64-osx-1015 | ||||||
| cmake --build --preset ninja-arm64_osx_vcpkg-release | cmake --build --preset ninja-arm64_osx_vcpkg-release | ||||||
| 
 | 
 | ||||||
| mkdir -p build/dist | mkdir -p build/dist | ||||||
|  |  | ||||||
							
								
								
									
										7
									
								
								scripts/x64-osx-1015.cmake
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								scripts/x64-osx-1015.cmake
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | ||||||
|  | set(VCPKG_TARGET_ARCHITECTURE x64) | ||||||
|  | set(VCPKG_OSX_DEPLOYMENT_TARGET 10.15) | ||||||
|  | set(VCPKG_CRT_LINKAGE dynamic) | ||||||
|  | set(VCPKG_LIBRARY_LINKAGE static) | ||||||
|  | 
 | ||||||
|  | set(VCPKG_CMAKE_SYSTEM_NAME Darwin) | ||||||
|  | set(VCPKG_OSX_ARCHITECTURES x86_64) | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eidolon
						Eidolon