mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
Meta: Make YCM work when the current dir is not the root of the tree
Previously we'd incorrectly use a relative path for the compilation database.
This commit is contained in:
parent
084fad2aca
commit
466000e05f
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ if gcc_path:
|
||||||
continue
|
continue
|
||||||
serenity_flags.extend(('-isystem', include_path))
|
serenity_flags.extend(('-isystem', include_path))
|
||||||
|
|
||||||
database = ycm_core.CompilationDatabase(f'Build/{serenity_arch}')
|
database = ycm_core.CompilationDatabase(os.path.join(DIR_OF_THIS_SCRIPT, f'Build/{serenity_arch}'))
|
||||||
|
|
||||||
|
|
||||||
def is_header_file(filename):
|
def is_header_file(filename):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue