blob: eb2f2e76c23d9d236a52019522f2a12cec4f0b33 [file] [log] [blame] [edit]
{
"cmake.exportCompileCommandsFile": true,
"clangd.arguments": [
"--compile-commands-dir=out/build/ninja-debug",
"-header-insertion=iwyu",
],
"clangd.fallbackFlags": ["-xc++"], // To interpret .h files as C++.
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
"files.insertFinalNewline": true,
"cmake.debugConfig": {
"externalConsole": true,
"cwd": "${workspaceFolder}",
"args": [
"--input=${workspaceFolder}/src/examples/mesh/mesh_example.vert",
"--sl=${workspaceFolder}/generated/shaders/mesh_example.vert.gles",
"--spirv=${workspaceFolder}/generated/shaders/mesh_example.vert.spirv",
"--opengl-es",
"--reflection-json=${workspaceFolder}/generated/shaders/mesh_example.vert.json",
"--reflection-header=${workspaceFolder}/generated/shaders/mesh_example.vert.h",
"--reflection-cc=${workspaceFolder}/generated/shaders/mesh_example.vert.cc",
"--include=${workspaceFolder}/third_party/impeller-cmake/third_party/flutter/impeller/compiler/shader_lib",
"--define=IMPELLER_TARGET_OPENGLES"
]
},
"cmake.configureOnOpen": true,
}