CompileInfo folder place of -Y COMPILE_INFO
and clangd
--compile-commands-dir
#6529
Closed
YangGangUEFI
started this conversation in
General
Replies: 2 comments 1 reply
-
Solution: Use https://github.com/intel/Edk2Code/ with
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Close this discussion as main question solved. But leave another little questions:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related commit: 4ad7ea9
Refer to the code/commit, compile information file will write into
<Build>/<BuildTarget>/<ToolChain>/CompileInfo
folder.When use
clangd
extension in VSCODEThere have some question:
clangd.arguments
--compile-commands-dir
in VSCODE'ssetting.json
, it seems that you must set the directory containing thecompile_commands.json
file on the root directory, so--compile-commands-dir
does not seem to be able to use a certain fixed path for differentBuildTarget
orToolChain
. If there have some other way to use a fixed path for--compile-commands-dir
?For question
1.
, I tried to usecompile_info_folder = Path(Wa.WorkspaceDir).joinpath("Build", "CompileInfo")
to put it into a fixed path, but it changed the behavior of the current code, which seems not good😢.Another way, set a path MACRO like
EDK2_COMPILE_INFO_PATH
?(Not tried)Beta Was this translation helpful? Give feedback.
All reactions