Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


I want to build LO in VS Code on Mac.
Though "${workspaceFolder}" was set in browse.path and includePath in 
$LODE_HOME/dev/core/.vscode/c_cpp_properties.json,
there are many "cannot open source file..." in problem panel and many #include are underlined with 
jiggles.
By searching on Internet, I learned setting "directory" of 
$LODE_HOME/lode/dev/core/compile_commands.json will enable recursive inclusion,
but the values of other two keys "command" and "file" puzzle me.
{
    "directory": "${workspaceFolder}",
    "command": "${LODE_HOME}/opt/bin/make build-nocheck 2>&1",
    "file": [".cxx", ".cpp", ".py", ".c"]
}

What are the correct values for "command" and "file" of compile_commands.json?

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.