aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 09c4904..cde2151 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -238,6 +238,7 @@ int dummy;
# fully created.
os.replace(tempfilename, outfilename)
self.generate_compdb()
+ self.dump_state_file()
# http://clang.llvm.org/docs/JSONCompilationDatabase.html
def generate_compdb(self):