How can compile_commands.json be generated when compiling a library with vcpkg? #43027
Unanswered
javenleeCH
asked this question in
Q&A
Replies: 1 comment
-
You are aware that vcpkg won't compile anything if the library has been build and is in the cache? You can however always put CMAKE_EXPORT_COMPILE_COMMANDS into VCPKG_CMAKE_CONFIGURE_OPTIONS within a triplet (or set the env variable on linux/osx. On Windows it requires setting it in the triplet or toolchain) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can compile_commands.json be generated when compiling a library with vcpkg?
Beta Was this translation helpful? Give feedback.
All reactions