Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcodeql does not use lgtm.yml file to create database #5
Comments
|
It is true that the CodeQL CLI does not use We're having some internal discussions to figure out what the behavior should be. For now, you will need to carry out the configuration manually and give the |
|
So is it correct to pass multiple |
|
Yes, you can pass multiple However, as long as it's only the last of them that actually invokes the C compiler you can also just run the |
|
Thank you very much! |
|
Hey @hmakholm - Could you recommend an alternative for the xml_mode config available in lgtm.yml? I can't quite think of a way to use the --command option to work around it. |
I create a lgtm.yml file in my project like this.
Then I use codeql to create a database,
codeql database create -s ~/softwares/my-codeql-project --language=cpp codeql -j=20, but the output of the codeql shows that it does not use the lgtm.yml as configuration file and build failed. Part of the output: