mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Add preset that builds in debug mode
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/github.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/github.yml
									
									
									
									
										vendored
									
									
								
							| @@ -76,6 +76,10 @@ jobs: | ||||
|             os: ubuntu-20.04 | ||||
|             test: 0 | ||||
|             preset: linux-gcc-test | ||||
|           - platform: linux | ||||
|             os: ubuntu-20.04 | ||||
|             test: 0 | ||||
|             preset: linux-gcc-debug | ||||
|           - platform: mac-intel | ||||
|             os: macos-12 | ||||
|             test: 0 | ||||
|   | ||||
| @@ -70,6 +70,18 @@ | ||||
|             "description": "VCMI Linux GCC", | ||||
|             "inherits": "linux-release", | ||||
|             "cacheVariables": { | ||||
|                 "ENABLE_LUA" : "ON", | ||||
|                 "CMAKE_C_COMPILER": "/usr/bin/gcc", | ||||
|                 "CMAKE_CXX_COMPILER": "/usr/bin/g++" | ||||
|             } | ||||
|         }, | ||||
|         { | ||||
|             "name": "linux-gcc-debug", | ||||
|             "displayName": "GCC x86_64-pc-linux-gnu (debug)", | ||||
|             "description": "VCMI Linux GCC (Debug)", | ||||
|             "inherits": "linux-release", | ||||
|             "cacheVariables": { | ||||
|                 "CMAKE_BUILD_TYPE": "Debug", | ||||
|                 "ENABLE_LUA" : "ON", | ||||
|                 "ENABLE_PCH" : "OFF", | ||||
|                 "CMAKE_C_COMPILER": "/usr/bin/gcc", | ||||
| @@ -93,7 +105,6 @@ | ||||
|             "inherits": "linux-test", | ||||
|             "cacheVariables": { | ||||
|                 "ENABLE_LUA" : "OFF", | ||||
|                 "ENABLE_PCH" : "OFF", | ||||
|                 "CMAKE_C_COMPILER": "/usr/bin/gcc", | ||||
|                 "CMAKE_CXX_COMPILER": "/usr/bin/g++" | ||||
|             } | ||||
| @@ -239,6 +250,11 @@ | ||||
|             "hidden": true, | ||||
|             "configuration": "RelWithDebInfo" | ||||
|         }, | ||||
|         { | ||||
|             "name": "default-debug", | ||||
|             "hidden": true, | ||||
|             "configuration": "Debug" | ||||
|         }, | ||||
|         { | ||||
|             "name": "linux-clang-release", | ||||
|             "configurePreset": "linux-clang-release", | ||||
| @@ -259,6 +275,11 @@ | ||||
|             "configurePreset": "linux-gcc-release", | ||||
|             "inherits": "default-release" | ||||
|         }, | ||||
|         { | ||||
|             "name": "linux-gcc-debug", | ||||
|             "configurePreset": "linux-gcc-debug", | ||||
|             "inherits": "default-debug" | ||||
|         }, | ||||
|         { | ||||
|             "name": "macos-xcode-release", | ||||
|             "configurePreset": "macos-xcode-release", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user