Example of user preset both Windows and Linux

This commit is contained in:
Magne Sjaastad committed 2025-06-04 11:02:56 +02:00
1 parent 88e0aad8cf
commit fbc407aa49
2 files changed
+27 -22

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
{
"version": 2,
"configurePresets": [
{
"name": "linux-base",
"hidden": false,
"displayName": "Linux Base",
"inherits": "ninja",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"RESINSIGHT_ENABLE_UNITY_BUILD": true,
"RESINSIGHT_ENABLE_GRPC": false,
"CMAKE_PREFIX_PATH": "/home/builder/qt/6.6.3/gcc_64/lib/cmake"
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
"description": "Linux Release",
"inherits": "linux-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
}
]
}
@@ -39,28 +39,6 @@
"description": "Target Windows (64-bit) with the Visual Studio development environment. (Release)",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "linux-base",
"hidden": false,
"displayName": "Linux Base",
"inherits": "ninja",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"RESINSIGHT_ENABLE_UNITY_BUILD": true,
"RESINSIGHT_ENABLE_GRPC": false,
"CMAKE_PREFIX_PATH": "/home/builder/qt/6.6.3/gcc_64/lib/cmake"
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
"description": "Linux Release",
"inherits": "linux-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
}
]
}