Last active
March 4, 2025 14:23
-
-
Save nbolton/1a6c59b576528f20f76ae2e3fd0c72d5 to your computer and use it in GitHub Desktop.
Deskflow CMake user presets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"configurePresets": [ | |
{ | |
"name": "base", | |
"hidden": true, | |
"binaryDir": "${sourceDir}/build", | |
"cacheVariables": { | |
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON", | |
"CMAKE_COMPILE_WARNING_AS_ERROR": "ON" | |
} | |
}, | |
{ | |
"name": "windows", | |
"inherits": "base", | |
"hidden": true, | |
"generator": "Ninja", | |
"cacheVariables": { | |
"CMAKE_C_COMPILER": "cl.exe", | |
"CMAKE_CXX_COMPILER": "cl.exe", | |
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", | |
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install" | |
}, | |
"architecture": { | |
"value": "x64", | |
"strategy": "external" | |
}, | |
"toolset": { | |
"value": "host=x64", | |
"strategy": "external" | |
} | |
}, | |
{ | |
"name": "linux", | |
"hidden": true, | |
"inherits": "base", | |
"generator": "Ninja" | |
}, | |
{ | |
"name": "macos", | |
"hidden": true, | |
"inherits": "base", | |
"generator": "Unix Makefiles" | |
}, | |
{ | |
"name": "windows-debug", | |
"inherits": "windows", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Debug" | |
} | |
}, | |
{ | |
"name": "windows-release", | |
"inherits": "windows", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "ReleaseWithDebInfo" | |
} | |
}, | |
{ | |
"name": "linux-debug", | |
"inherits": "linux", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Debug" | |
} | |
}, | |
{ | |
"name": "linux-release", | |
"inherits": "linux", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "ReleaseWithDebInfo" | |
} | |
}, | |
{ | |
"name": "macos-debug", | |
"inherits": "macos", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Debug" | |
} | |
}, | |
{ | |
"name": "macos-release", | |
"inherits": "macos", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "ReleaseWithDebInfo" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment