Closed gglin001 closed 3 years ago
just like "defines" or "C_Cpp.default.defines" in vsocde-cpptools
vsocde-cpptools
ref https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference
This can be done using clangd's config file, something like:
CompileFlags: Add: [-DMY_MACRO]
just like "defines" or "C_Cpp.default.defines" in
vsocde-cpptools
ref https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference