Skip to content

Commit

Permalink
Add basic CMakePresets.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Jan 26, 2025
1 parent 70caf4d commit fa81c72
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": 6,
"configurePresets": [
{
"name": "debug",
"displayName": "Debug Build",
"description": "Debug build with Clang and Vcpkg toolchain",
"binaryDir": "${sourceDir}/cmake-build-debug",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_TOOLCHAIN_FILE": "~/apps/vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_BUILD_TYPE": "Debug",
"WITH_VST3": "ON",
"WITH_TESTS": "ON"
}
},
{
"name": "release",
"displayName": "Release Build",
"description": "Release build with Clang and Vcpkg toolchain",
"binaryDir": "${sourceDir}/cmake-build-release",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_TOOLCHAIN_FILE": "~/apps/vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_BUILD_TYPE": "Release",
"WITH_VST3": "ON"
}
}
]
}

0 comments on commit fa81c72

Please sign in to comment.