diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2018-11-27 13:35:28 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-01-06 12:19:27 +0100 |
commit | f4285f350e1acf6ffe10a6dafff4028c0d142924 (patch) | |
tree | 8e8059db90e5fcbc4a3d4004d01a1b7bab5aa94e /mesonbuild/msetup.py | |
parent | a6034d1f198cd08a48026d2478c4e4539a3d9b36 (diff) | |
download | meson-f4285f350e1acf6ffe10a6dafff4028c0d142924.zip meson-f4285f350e1acf6ffe10a6dafff4028c0d142924.tar.gz meson-f4285f350e1acf6ffe10a6dafff4028c0d142924.tar.bz2 |
Initial automatic target file generation
Diffstat (limited to 'mesonbuild/msetup.py')
-rw-r--r-- | mesonbuild/msetup.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py index 56a0e9a..10eecd8 100644 --- a/mesonbuild/msetup.py +++ b/mesonbuild/msetup.py @@ -23,6 +23,7 @@ import argparse from . import environment, interpreter, mesonlib from . import build from . import mlog, coredata +from . import mintro from .mesonlib import MesonException def add_arguments(parser): @@ -215,6 +216,9 @@ class MesonApp: coredata.write_cmd_line_file(self.build_dir, self.options) else: coredata.update_cmd_line_file(self.build_dir, self.options) + + # Generate an IDE introspection file with the exact same syntax as the introspection API defined in mintro + mintro.generate_introspection_file(b.environment.get_coredata(), b, b.get_tests(), b.get_benchmarks(), intr.backend.create_install_data()) except: if 'cdf' in locals(): old_cdf = cdf + '.prev' |