Skip to content

Commit

Permalink
Add CMakePresets.json
Browse files Browse the repository at this point in the history
xerpi committed Oct 21, 2023
1 parent 285f53f commit a41b912
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 2,
"configurePresets": [
{
"name": "Debug",
"displayName": "Debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build_debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "${env:DEVKITPRO}/cmake/devkitARM.cmake"
}
},
{
"name": "Release",
"displayName": "Release",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build_release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "${env:DEVKITPRO}/cmake/devkitARM.cmake"
}
}
]
}

0 comments on commit a41b912

Please sign in to comment.