Skip to content

Commit

Permalink
Adding preset to diagnose _NOT_BUILT test issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-parent committed Oct 14, 2024
1 parent 252bfe9 commit eb20f13
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CMakeUserPresets.json
# IDE files
.vs/
.idea/
.vscode/
.vscode/**/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.ctest.testExplorerIntegrationEnabled": true
}
16 changes: 16 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 8,
"configurePresets": [
{
"name": "test-debug",
"displayName": "test-debug",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TESTING": "ON"
}
}
]
}

0 comments on commit eb20f13

Please sign in to comment.