You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add -Y REPORT_INFO option to build command to generate compile
information as part of BuildReport.
This option generates files to be used by external tools as IDE's
to enhance functionality.
Files are created inside build folder: <Build>/<BuildTarget>/<ToolChain>/CompileInfo
Files created:
compile_commands.json - Compilation Database. To be used by IDE's
to enable advance features
cscope.files - List of files used in compilation. Used by Cscope to parse
C code and provide browse functionality.
module_report.json - Module data form buildReport in Json format.
Have you considered any alternatives?
Currently comunity uses external tools that parses build log output to generate this information such as Bear
Additional context
No response
The text was updated successfully, but these errors were encountered:
What does the feature solve?
Modern IDE's make use of compilation database json files to enable advanced features.
Request is to generate compile_commands.json file as part of build process.
JSON Compilation Database Format Specification
EDK2 bugzilla
Describe the solution
Add
-Y REPORT_INFO
option to build command to generate compileinformation as part of BuildReport.
This option generates files to be used by external tools as IDE's
to enhance functionality.
Files are created inside build folder:
<Build>/<BuildTarget>/<ToolChain>/CompileInfo
Files created:
to enable advance features
C code and provide browse functionality.
Have you considered any alternatives?
Currently comunity uses external tools that parses build log output to generate this information such as Bear
Additional context
No response
The text was updated successfully, but these errors were encountered: