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:
parent
37f3560b9c
commit
8576591f6f
4
.github/workflows/github.yml
vendored
4
.github/workflows/github.yml
vendored
@ -76,6 +76,10 @@ jobs:
|
|||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
test: 0
|
test: 0
|
||||||
preset: linux-gcc-test
|
preset: linux-gcc-test
|
||||||
|
- platform: linux
|
||||||
|
os: ubuntu-20.04
|
||||||
|
test: 0
|
||||||
|
preset: linux-gcc-debug
|
||||||
- platform: mac-intel
|
- platform: mac-intel
|
||||||
os: macos-12
|
os: macos-12
|
||||||
test: 0
|
test: 0
|
||||||
|
@ -70,6 +70,18 @@
|
|||||||
"description": "VCMI Linux GCC",
|
"description": "VCMI Linux GCC",
|
||||||
"inherits": "linux-release",
|
"inherits": "linux-release",
|
||||||
"cacheVariables": {
|
"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_LUA" : "ON",
|
||||||
"ENABLE_PCH" : "OFF",
|
"ENABLE_PCH" : "OFF",
|
||||||
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
||||||
@ -93,7 +105,6 @@
|
|||||||
"inherits": "linux-test",
|
"inherits": "linux-test",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"ENABLE_LUA" : "OFF",
|
"ENABLE_LUA" : "OFF",
|
||||||
"ENABLE_PCH" : "OFF",
|
|
||||||
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
||||||
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
|
||||||
}
|
}
|
||||||
@ -239,6 +250,11 @@
|
|||||||
"hidden": true,
|
"hidden": true,
|
||||||
"configuration": "RelWithDebInfo"
|
"configuration": "RelWithDebInfo"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "default-debug",
|
||||||
|
"hidden": true,
|
||||||
|
"configuration": "Debug"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-clang-release",
|
"name": "linux-clang-release",
|
||||||
"configurePreset": "linux-clang-release",
|
"configurePreset": "linux-clang-release",
|
||||||
@ -259,6 +275,11 @@
|
|||||||
"configurePreset": "linux-gcc-release",
|
"configurePreset": "linux-gcc-release",
|
||||||
"inherits": "default-release"
|
"inherits": "default-release"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-gcc-debug",
|
||||||
|
"configurePreset": "linux-gcc-debug",
|
||||||
|
"inherits": "default-debug"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "macos-xcode-release",
|
"name": "macos-xcode-release",
|
||||||
"configurePreset": "macos-xcode-release",
|
"configurePreset": "macos-xcode-release",
|
||||||
|
Loading…
Reference in New Issue
Block a user