Replies: 2 comments 2 replies
-
Note that this is not the intended use of the
Thank you for the suggestion. Can you specify where exactly in the documentation you would like the use of these command line arguments highlighted further? Are you referring to the CLI help page ( |
Beta Was this translation helpful? Give feedback.
-
Wow. Thank you for your correction! In that case I'd personally use
I was thinking about: https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis. Because I assume this is the first document users read when they start using CodeQL CLI. I see that it has (emphasis mine):
But it wasn't strong enough to keep me runnng Down below, we have:
Then, can we have something like
Or as an example under the Specifying build commands section in addition to
WDYT? |
Beta Was this translation helpful? Give feedback.
-
I think having
--source-root
as "Recommended" is helpful for users of modern C/C++ projects. Because if a project is using CMake or Meson, we usually move tobuilddir/
and runmake
orninja
. CMake hascmake --build builddir
, but with Meson you must move tobuilddir/
first andmeson compile
.So natually, we do
But this doesn't work because
source-root
is notbuilddir
but..
.Instead of the above, the following command line works in the
builddir
:It'd be nice if we can enhance the document.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions