Skip to content

Commit

Permalink
Create VSCode configuration for unit tests
Browse files Browse the repository at this point in the history
Prevents Intellisense from becoming confused regarding definitions
conflicting or being declared in different namespaces
  • Loading branch information
Kfeavel authored and micahswitzer committed Dec 30, 2022
1 parent baef4cf commit 661bed0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@
"__kernel__"
],
"compilerPath": "/usr/bin/gcc",
"includePath": [
"${default}",
"${workspaceFolder}/Kernel/",
"${workspaceFolder}/Thirdparty/"
],
"cStandard": "c17",
"cppStandard": "c++20"
},
{
"name": "Xyris Unit Tests",
"defines": [
"__i686__",
"__xyris__"
],
"compilerPath": "/usr/bin/gcc",
"includePath": [
"${default}",
"${workspaceFolder}/Kernel/",
Expand All @@ -25,4 +40,4 @@
}
],
"version": 4
}
}

0 comments on commit 661bed0

Please sign in to comment.