mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Add ninja-x64_windows presets (for clang on windows)
This commit is contained in:
		
							parent
							
								
									9735d93ee1
								
							
						
					
					
						commit
						b9e399f269
					
				
					 1 changed files with 85 additions and 1 deletions
				
			
		|  | @ -40,12 +40,43 @@ | |||
| 				"SRB2_CONFIG_TESTERS": "ON" | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "__debug-cl", | ||||
| 			"hidden": true, | ||||
| 			"cacheVariables": { | ||||
| 				"CMAKE_C_FLAGS_DEBUG": "/MDd /Zi /Ob0 /Od /RTC0", | ||||
| 				"CMAKE_CXX_FLAGS_DEBUG": "/MDd /Zi /Ob0 /Od /RTC0", | ||||
| 				"SRB2_CONFIG_DEV_BUILD": "ON", | ||||
| 				"CMAKE_BUILD_TYPE": "Debug" | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "__develop-cl", | ||||
| 			"hidden": true, | ||||
| 			"cacheVariables": { | ||||
| 				"CMAKE_C_FLAGS_RELWITHDEBINFO": "/MD /O2 /Ob2 /DNDEBUG", | ||||
| 				"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "/MD /O2 /Ob2 /DNDEBUG", | ||||
| 				"SRB2_CONFIG_DEV_BUILD": "ON", | ||||
| 				"CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "__release-cl", | ||||
| 			"hidden": true, | ||||
| 			"cacheVariables": { | ||||
| 				"CMAKE_C_FLAGS_RELWITHDEBINFO": "/MD /O2 /Ob2 /DNDEBUG", | ||||
| 				"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "/MD /O2 /Ob2 /DNDEBUG", | ||||
| 				"SRB2_CONFIG_DEV_BUILD": "OFF", | ||||
| 				"CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "__ninja", | ||||
| 			"hidden": true, | ||||
| 			"generator": "Ninja", | ||||
| 			"cacheVariables": { | ||||
| 				"CMAKE_COLOR_DIAGNOSTICS": "ON" | ||||
| 				"CMAKE_COLOR_DIAGNOSTICS": "ON", | ||||
| 				"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
|  | @ -78,6 +109,16 @@ | |||
| 				"VCPKG_TARGET_TRIPLET": "x86-mingw-static" | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "__x64-windows", | ||||
| 			"hidden": true, | ||||
| 			"cacheVariables": { | ||||
| 				"CMAKE_C_COMPILER": "clang-cl", | ||||
| 				"CMAKE_CXX_COMPILER": "clang-cl", | ||||
| 				"VCPKG_HOST_TRIPLET": "x64-windows-static-md", | ||||
| 				"VCPKG_TARGET_TRIPLET": "x64-windows-static-md" | ||||
| 			} | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "__osx_x64", | ||||
| 			"hidden": true, | ||||
|  | @ -172,6 +213,25 @@ | |||
| 			"inherits": [ "__testers", "__compiler-mingw-w64-i686", "__ninja", "__vcpkg-toolchain", "__mingw-static" ] | ||||
| 		}, | ||||
| 
 | ||||
| 		{ | ||||
| 			"name": "ninja-x64_windows_vcpkg-debug", | ||||
| 			"hidden": false, | ||||
| 			"binaryDir": "${sourceDir}/build/${presetName}", | ||||
| 			"inherits": [ "__debug-cl", "__ninja", "__vcpkg-toolchain", "__x64-windows" ] | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-x64_windows_vcpkg-develop", | ||||
| 			"hidden": false, | ||||
| 			"binaryDir": "${sourceDir}/build/${presetName}", | ||||
| 			"inherits": [ "__develop-cl", "__ninja", "__vcpkg-toolchain", "__x64-windows" ] | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-x64_windows_vcpkg-release", | ||||
| 			"hidden": false, | ||||
| 			"binaryDir": "${sourceDir}/build/${presetName}", | ||||
| 			"inherits": [ "__release-cl", "__ninja", "__vcpkg-toolchain", "__x64-windows" ] | ||||
| 		}, | ||||
| 
 | ||||
| 		{ | ||||
| 			"name": "ninja-x64_osx_vcpkg-debug", | ||||
| 			"hidden": false, | ||||
|  | @ -224,6 +284,18 @@ | |||
| 			"name": "ninja-release", | ||||
| 			"configurePreset": "ninja-release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-vcpkg-debug", | ||||
| 			"configurePreset": "ninja-vcpkg-debug" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-vcpkg-develop", | ||||
| 			"configurePreset": "ninja-vcpkg-develop" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-vcpkg-release", | ||||
| 			"configurePreset": "ninja-vcpkg-release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-x86_mingw_static_vcpkg-debug", | ||||
| 			"configurePreset": "ninja-x86_mingw_static_vcpkg-debug" | ||||
|  | @ -240,6 +312,18 @@ | |||
| 			"name": "ninja-x86_mingw_static_vcpkg-testers", | ||||
| 			"configurePreset": "ninja-x86_mingw_static_vcpkg-testers" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-x64_windows_vcpkg-debug", | ||||
| 			"configurePreset": "ninja-x64_windows_vcpkg-debug" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-x64_windows_vcpkg-develop", | ||||
| 			"configurePreset": "ninja-x64_windows_vcpkg-develop" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-x64_windows_vcpkg-release", | ||||
| 			"configurePreset": "ninja-x64_windows_vcpkg-release" | ||||
| 		}, | ||||
| 		{ | ||||
| 			"name": "ninja-x64_osx_vcpkg-debug", | ||||
| 			"configurePreset": "ninja-x64_osx_vcpkg-debug" | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eidolon
						Eidolon