mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Add separate CMake preset for MSVC build with ccache
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/github.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/github.yml
									
									
									
									
										vendored
									
									
								
							| @@ -111,7 +111,7 @@ jobs: | ||||
|             test: 0 | ||||
|             pack: 1 | ||||
|             extension: exe | ||||
|             preset: windows-msvc-release | ||||
|             preset: windows-msvc-release-ccache | ||||
|           - platform: mingw-ubuntu | ||||
|             os: ubuntu-22.04 | ||||
|             test: 0 | ||||
|   | ||||
| @@ -123,6 +123,17 @@ | ||||
|                 "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake", | ||||
|                 "CMAKE_POLICY_DEFAULT_CMP0091": "NEW", | ||||
|                 "FORCE_BUNDLED_MINIZIP": "ON" | ||||
|  | ||||
|             } | ||||
|         }, | ||||
|         { | ||||
|             "name": "windows-msvc-release-ccache", | ||||
|             "displayName": "Windows x64 RelWithDebInfo with ccache", | ||||
|             "description": "VCMI RelWithDebInfo build with ccache", | ||||
|             "inherits": "windows-msvc-release", | ||||
|             "cacheVariables": { | ||||
|                 "ENABLE_CCACHE": "ON" | ||||
|  | ||||
|             } | ||||
|         }, | ||||
|         { | ||||
| @@ -228,7 +239,8 @@ | ||||
|             "description": "VCMI iOS release using Conan and ccache", | ||||
|             "inherits": "ios-release-conan", | ||||
|             "cacheVariables": { | ||||
|                 "ENABLE_PCH" : "OFF" | ||||
|                 "ENABLE_PCH" : "OFF", | ||||
|                 "ENABLE_CCACHE": "ON" | ||||
|             } | ||||
|         }, | ||||
|         { | ||||
| @@ -318,6 +330,11 @@ | ||||
|             "inherits": "default-release", | ||||
|             "configuration": "Release" | ||||
|         }, | ||||
|         { | ||||
|             "name": "windows-msvc-release-ccache", | ||||
|             "configurePreset": "windows-msvc-release-ccache", | ||||
|             "inherits": "windows-msvc-release" | ||||
|         }, | ||||
|         { | ||||
|             "name": "windows-msvc-relwithdebinfo", | ||||
|             "configurePreset": "windows-msvc-release", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user