Files
deskflow/CMakePresets.json
Nick Bolton 83175d3e45 Add Linux and macOS CMake presets (#7323)
* Add Linux CMake preset

* Add macOS preset

* Update ChangeLog
2024-01-11 11:05:56 +00:00

60 lines
1.2 KiB
JSON

{
"version": 2,
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "windows",
"displayName": "Windows",
"inherits": "base",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
},
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
}
},
{
"name": "linux",
"displayName": "Linux",
"inherits": "base"
},
{
"name": "macos",
"displayName": "macOS",
"inherits": "base"
}
],
"buildPresets": [
{
"name": "windows",
"displayName": "Windows",
"configurePreset": "windows"
},
{
"name": "linux",
"displayName": "Linux",
"configurePreset": "linux"
},
{
"name": "macos",
"displayName": "macOS",
"configurePreset": "macos"
}
]
}