Skip to content

Commit

Permalink
Add example for linux CMakeUserPresets
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Oct 25, 2024
1 parent 1f2b180 commit 47413ed
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CMakeUserPresets-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@
"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": {
"VCPKG_TARGET_TRIPLET": "x64-linux-release",
"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" }
}
]
}

0 comments on commit 47413ed

Please sign in to comment.