aboutsummaryrefslogtreecommitdiff
path: root/optinterpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-06-30 20:43:05 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-06-30 20:43:05 +0300
commitac127db9194616298bb80134a2bda6e0858a0e15 (patch)
treeb6f550f0da007314ac2bdce31320b38a158af820 /optinterpreter.py
parent6f76c45a542d4515c7b850a9878fc8030cd273de (diff)
downloadmeson-ac127db9194616298bb80134a2bda6e0858a0e15.zip
meson-ac127db9194616298bb80134a2bda6e0858a0e15.tar.gz
meson-ac127db9194616298bb80134a2bda6e0858a0e15.tar.bz2
Get builtin options by correct name in subprojects.
Diffstat (limited to 'optinterpreter.py')
-rw-r--r--optinterpreter.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/optinterpreter.py b/optinterpreter.py
index 1fbb6fc..6906d31 100644
--- a/optinterpreter.py
+++ b/optinterpreter.py
@@ -16,20 +16,7 @@ import mparser
import coredata
import os, re
-forbidden_option_names = {'buildtype': True,
- 'strip': True,
- 'coverage': True,
- 'pch': True,
- 'unity': True,
- 'prefix': True,
- 'libdir' : True,
- 'bindir' : True,
- 'includedir' : True,
- 'datadir' : True,
- 'mandir' : True,
- 'localedir' : True,
- 'werror' : True,
- }
+forbidden_option_names = coredata.builtin_options
class OptionException(coredata.MesonException):
pass