Subproject definition files are important, too.

pull/15/head
Jussi Pakkanen 11 years ago
parent 0a4818164d
commit 6b563521fe
  1. 3
      interpreter.py

@ -616,7 +616,7 @@ class Interpreter():
self.builtin['meson'] = MesonMain(build, self)
self.environment = build.environment
self.build_func_dict()
self.build_def_files = [environment.build_filename]
self.build_def_files = [os.path.join(self.subdir, environment.build_filename)]
self.coredata = self.environment.get_coredata()
self.generators = []
self.visited_subdirs = {}
@ -829,6 +829,7 @@ class Interpreter():
mlog.log('\nSubproject', mlog.bold(dirname), 'finished.')
self.build.subprojects[dirname] = True
self.subprojects[dirname] = SubprojectHolder(subi)
self.build_def_files += subi.build_def_files
return self.subprojects[dirname]
def func_get_option(self, nodes, args, kwargs):

Loading…
Cancel
Save