Skip to content

Commit

Permalink
Modify CMakePresets.json
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Mar 17, 2024
1 parent 7d65e65 commit 51ebbab
Showing 1 changed file with 16 additions and 44 deletions.
60 changes: 16 additions & 44 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
}
}
},

{
"name": "qt6",
"inherits": [
"base"
"base"
],
"cacheVariables": {
"QT_ROOT": {
Expand All @@ -65,8 +65,8 @@
"name": "qt5",
"description": "Versions earlier than QT6.5 use OpenSSL 1.1",
"inherits": [
"base",
"openssl1.1"
"base",
"openssl1.1"
],
"cacheVariables": {
"QT_ROOT": {
Expand All @@ -79,7 +79,7 @@
}
}
},

{
"name": "x64",
"hidden": true,
Expand All @@ -96,7 +96,7 @@
"value": "Win32"
}
},

{
"name": "msvc",
"hidden": true,
Expand All @@ -106,7 +106,7 @@
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
},
{
"name": "msvc-x64-qt6",
"inherits": [
Expand Down Expand Up @@ -146,35 +146,17 @@
"generator": "Ninja"
},
{
"name": "ninja-x64-qt6",
"name": "ninja-qt6",
"inherits": [
"ninja",
"qt6",
"x64"
"qt6"
]
},
{
"name": "ninja-x86-qt6",
"name": "ninja-qt5",
"inherits": [
"ninja",
"qt6",
"x86"
]
},
{
"name": "ninja-x64-qt5",
"inherits": [
"ninja",
"qt5",
"x64"
]
},
{
"name": "ninja-x86-qt5",
"inherits": [
"ninja",
"qt5",
"x86"
"qt5"
]
}
],
Expand Down Expand Up @@ -220,25 +202,15 @@
"rhs": "Windows"
}
},

{
"name": "ninja-x64-qt6",
"configurePreset": "ninja-x64-qt6",
"configuration": "Release"
},
{
"name": "ninja-x86-qt6",
"configurePreset": "ninja-x86-qt6",
"configuration": "Release"
},

{
"name": "ninja-x64-qt5",
"configurePreset": "ninja-x64-qt5",
"name": "ninja-qt6",
"configurePreset": "ninja-qt6",
"configuration": "Release"
},
{
"name": "ninja-x86-qt5",
"configurePreset": "ninja-x86-qt5",
"name": "ninja4-qt5",
"configurePreset": "ninja-qt5",
"configuration": "Release"
}
],
Expand Down

0 comments on commit 51ebbab

Please sign in to comment.