Generate compile_commands.json #26

Closed
opened 2026-07-27 11:04:30 -04:00 by kevintl1998 · 2 comments
Owner

Required for background indexing to work which enables jumping to symbols in files which have not been opened.

Required for background indexing to work which enables jumping to symbols in files which have not been opened.
Author
Owner

Library includes in non-standard locations require the addition of a '-L[path/to/library]' flag to tell the compiler where the library is located. In the compile command, the -L flags should be placed after the library -l (lowercase L) includes and the library -l includes should be placed after the -I (uppercase i) file includes. Basically, libraries and files which reference other files/libraries should be placed after the files/libraries they are referencing.

-L tells the linker where to find library files at compile time. An alternate flag -R is available on some systems to specify library paths at runtime. Paths included with -R will be inserted into the resulting binary.
https://stackoverflow.com/questions/31455979/how-to-specify-libraries-paths-in-gcc

Library includes in non-standard locations require the addition of a '-L[path/to/library]' flag to tell the compiler where the library is located. In the compile command, the -L flags should be placed after the library -l (lowercase L) includes and the library -l includes should be placed after the -I (uppercase i) file includes. Basically, libraries and files which reference other files/libraries should be placed after the files/libraries they are referencing. -L tells the linker where to find library files at compile time. An alternate flag -R is available on some systems to specify library paths at runtime. Paths included with -R will be inserted into the resulting binary. https://stackoverflow.com/questions/31455979/how-to-specify-libraries-paths-in-gcc
Author
Owner

Need to improve my current method for determining the correct python executable. On windows, 'where python3' prints out the path that python3 would be installed if it was installed through the windows store.

Need to improve my current method for determining the correct python executable. On windows, 'where python3' prints out the path that python3 would be installed if it was installed through the windows store.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
#27 generate compile commands
kevintl1998/yapp-clangd.nvim
Reference
kevintl1998/yapp-clangd.nvim#26
No description provided.