50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
|
//The configurations are for vscode with meson extension
|
||
|
//See configurations in "compileCommands"
|
||
|
{
|
||
|
"configurations": [
|
||
|
{
|
||
|
"name": "Linux",
|
||
|
"includePath": [
|
||
|
"${default}",
|
||
|
"${workspaceFolder}/**",
|
||
|
"${workspaceFolder}/src/**"
|
||
|
],
|
||
|
"compilerPath": "/usr/bin/gcc",
|
||
|
"cStandard": "c17",
|
||
|
"cppStandard": "c++17",
|
||
|
"intelliSenseMode": "linux-gcc-x64",
|
||
|
"compileCommands": "${workspaceFolder}/builddir/compile_commands.json"
|
||
|
},
|
||
|
{
|
||
|
"name": "win32",
|
||
|
"includePath": [
|
||
|
"${default}",
|
||
|
"${workspaceFolder}/**",
|
||
|
"${workspaceFolder}/src/**"
|
||
|
],
|
||
|
"defines": [],
|
||
|
"compilerPath": "D:/msys64/MinGW64/bin/gcc.exe",
|
||
|
"cStandard": "c17",
|
||
|
"cppStandard": "c++17",
|
||
|
"intelliSenseMode": "windows-gcc-x64",
|
||
|
"compileCommands": "${workspaceFolder}/builddir_win32/compile_commands.json"
|
||
|
},
|
||
|
{
|
||
|
"name": "Mac",
|
||
|
"includePath": [
|
||
|
"${default}",
|
||
|
"${workspaceFolder}/**",
|
||
|
"${workspaceFolder}/src/**"
|
||
|
],
|
||
|
"defines": [],
|
||
|
"macFrameworkPath": [],
|
||
|
"compilerPath": "/usr/bin/clang",
|
||
|
"cStandard": "gnu17",
|
||
|
"cppStandard": "gnu++17",
|
||
|
"intelliSenseMode": "macos-clang-x64",
|
||
|
"compileCommands": "${workspaceFolder}/builddir/compile_commands.json"
|
||
|
}
|
||
|
],
|
||
|
"version": 4
|
||
|
}
|