mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
committed by
Andreas Kling
parent
084fad2aca
commit
466000e05f
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user