-
Notifications
You must be signed in to change notification settings - Fork 17
Fix missing CMake options #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
If the current directory contains a 'compile_commands.json' file the loop is left early.
|
Thats right, there is no need to keep searching if the compile_commands.json file is found. |
|
Are you sure? Without this (with the return) the subdirectories are not searched and my project was missing almost all of my include directories |
|
Why are your include directories not in the compile_commands.json file? Is cmake emitting an empty compile_commands.json file? |
|
Well this is interesting... My project does not make use of I would say this is not so much of a fix but an improvement to support mixed projects - unless there is another disadvantage than the initial runtime cost. |
|
Perhaps it would be better to have config that sets where the flags come from. |
|
That would be the best solution I guess.
|
|
I am thinking like:
|
|
That would work too! I had another a look at the build dir and it seems that the 👍 |
If the current directory contains a 'compile_commands.json' file the loop is
left early.