aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-08-25 01:29:16 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-08-25 01:29:16 +0300
commitcd97f7a768fafc3ff9372e2559df1850c9ab7898 (patch)
treed3260b420b0e6ab7f2805d99a4f7c207e26a6440 /interpreter.py
parentbd5b4deeda8703b6ed5abbca0ef3662493e0784a (diff)
downloadmeson-cd97f7a768fafc3ff9372e2559df1850c9ab7898.zip
meson-cd97f7a768fafc3ff9372e2559df1850c9ab7898.tar.gz
meson-cd97f7a768fafc3ff9372e2559df1850c9ab7898.tar.bz2
Give sanity test binaries different names. Also expose project version to modules.
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/interpreter.py b/interpreter.py
index 559c561..f5b81a4 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -699,6 +699,7 @@ class ModuleHolder(InterpreterObject):
state.subdir = self.interpreter.subdir
state.environment = self.interpreter.environment
state.project_name = self.interpreter.build.project_name
+ state.project_version = self.interpreter.build.project_version
state.compilers = self.interpreter.build.compilers
state.targets = self.interpreter.build.targets
state.headers = self.interpreter.build.get_headers()