Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton3 committed Dec 25, 2023
1 parent 58843d0 commit 3127b79
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ __pycache__
build*
compile_commands.json
.cache/
.ccache/
.idea/
.vscode/
!.vscode/c_cpp_properties.json
!.vscode/cmake-variants.yaml
!.vscode/README.md
.cores/
.ccache/
cmake-build-*
Testing/
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions .vscode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is the minimal configuration for VSCode IDE.
If you don't use VSCode, feel free to delete this directory.
3 changes: 1 addition & 2 deletions c_cpp_properties.json → .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// This is the minimal configuration for VSCode IDE.
// If you don't use VSCode, feel free to delete this file.

{
"configurations": [
{
Expand Down
17 changes: 17 additions & 0 deletions .vscode/cmake-variants.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
buildType:
default: debug
choices:
debug:
short: Debug
long: Unoptimized debug build with sanitizers
buildType: Debug
settings:
CMAKE_EXPORT_COMPILE_COMMANDS: ON
USERVER_SANITIZE: addr ub

release:
short: Release
long: Optimized build
buildType: Release
settings:
CMAKE_EXPORT_COMPILE_COMMANDS: ON

0 comments on commit 3127b79

Please sign in to comment.