mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-18 03:21:27 +02:00
Correct linux preset (#748)
* presets: add correct linux presets * CMakePresets: added MSVC Release preset
This commit is contained in:
parent
6c9b0f5667
commit
7a32e41d47
@ -15,11 +15,19 @@
|
|||||||
"ENABLE_TEST": "0"
|
"ENABLE_TEST": "0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name" : "linux-release",
|
||||||
|
"inherits" : "default-release",
|
||||||
|
"hidden": true,
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_INSTALL_PREFIX" : "/usr/local"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-clang-release",
|
"name": "linux-clang-release",
|
||||||
"displayName": "Clang x86_64-pc-linux-gnu",
|
"displayName": "Clang x86_64-pc-linux-gnu",
|
||||||
"description": "VCMI Linux Clang",
|
"description": "VCMI Linux Clang",
|
||||||
"inherits": "default-release",
|
"inherits": "linux-release",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_C_COMPILER": "/usr/bin/clang",
|
"CMAKE_C_COMPILER": "/usr/bin/clang",
|
||||||
"CMAKE_CXX_COMPILER": "/usr/bin/clang++"
|
"CMAKE_CXX_COMPILER": "/usr/bin/clang++"
|
||||||
@ -29,7 +37,7 @@
|
|||||||
"name": "linux-gcc-release",
|
"name": "linux-gcc-release",
|
||||||
"displayName": "GCC x86_64-pc-linux-gnu",
|
"displayName": "GCC x86_64-pc-linux-gnu",
|
||||||
"description": "VCMI Linux GCC",
|
"description": "VCMI Linux GCC",
|
||||||
"inherits": "default-release",
|
"inherits": "linux-release",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
"CMAKE_C_COMPILER": "/usr/bin/gcc",
|
||||||
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
|
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
|
||||||
@ -94,6 +102,12 @@
|
|||||||
{
|
{
|
||||||
"name": "windows-msvc-release",
|
"name": "windows-msvc-release",
|
||||||
"configurePreset": "windows-msvc-release",
|
"configurePreset": "windows-msvc-release",
|
||||||
|
"inherits": "default-release",
|
||||||
|
"configuration": "Release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows-msvc-relwithdebinfo",
|
||||||
|
"configurePreset": "windows-msvc-release",
|
||||||
"inherits": "default-release"
|
"inherits": "default-release"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user