1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00

Correct linux preset (#748)

* presets: add correct linux presets
* CMakePresets: added MSVC Release preset
This commit is contained in:
Konstantin 2022-05-28 14:32:54 +03:00 committed by GitHub
parent 6c9b0f5667
commit 7a32e41d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,11 +15,19 @@
"ENABLE_TEST": "0"
}
},
{
"name" : "linux-release",
"inherits" : "default-release",
"hidden": true,
"cacheVariables": {
"CMAKE_INSTALL_PREFIX" : "/usr/local"
}
},
{
"name": "linux-clang-release",
"displayName": "Clang x86_64-pc-linux-gnu",
"description": "VCMI Linux Clang",
"inherits": "default-release",
"inherits": "linux-release",
"cacheVariables": {
"CMAKE_C_COMPILER": "/usr/bin/clang",
"CMAKE_CXX_COMPILER": "/usr/bin/clang++"
@ -29,7 +37,7 @@
"name": "linux-gcc-release",
"displayName": "GCC x86_64-pc-linux-gnu",
"description": "VCMI Linux GCC",
"inherits": "default-release",
"inherits": "linux-release",
"cacheVariables": {
"CMAKE_C_COMPILER": "/usr/bin/gcc",
"CMAKE_CXX_COMPILER": "/usr/bin/g++"
@ -94,6 +102,12 @@
{
"name": "windows-msvc-release",
"configurePreset": "windows-msvc-release",
"inherits": "default-release",
"configuration": "Release"
},
{
"name": "windows-msvc-relwithdebinfo",
"configurePreset": "windows-msvc-release",
"inherits": "default-release"
}
],