mirror of
https://github.com/pi-hole/FTL.git
synced 2025-12-19 23:08:23 +00:00
Add Visual Studio Code CMake configuration to get ccompile-time definition detection working
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -14,9 +14,8 @@ version~
|
||||
# IDE files
|
||||
.idea/
|
||||
*.sw*
|
||||
/.vscode
|
||||
.vscode/
|
||||
/.vscode/
|
||||
.vscode/*
|
||||
!.vscode/c_cpp_properties.json
|
||||
/build/
|
||||
|
||||
# __pycache__ files (API tests)
|
||||
|
||||
18
.vscode/c_cpp_properties.json
vendored
Normal file
18
.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/src/**"
|
||||
],
|
||||
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
|
||||
"defines": [],
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"cStandard": "gnu17",
|
||||
"cppStandard": "gnu++17",
|
||||
"intelliSenseMode": "linux-gcc-x64",
|
||||
"configurationProvider": "ms-vscode.cmake-tools"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
Reference in New Issue
Block a user