1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00

Add preset that builds in debug mode

This commit is contained in:
Ivan Savenko 2023-07-11 15:30:45 +03:00
parent 37f3560b9c
commit 8576591f6f
2 changed files with 26 additions and 1 deletions

View File

@ -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

View File

@ -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",