|
|
@ -29,7 +29,7 @@ forbidden_option_names = {'buildtype': True, |
|
|
|
'mandir' : True, |
|
|
|
'mandir' : True, |
|
|
|
'localedir' : True, |
|
|
|
'localedir' : True, |
|
|
|
'werror' : True, |
|
|
|
'werror' : True, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class OptionException(coredata.MesonException): |
|
|
|
class OptionException(coredata.MesonException): |
|
|
|
pass |
|
|
|
pass |
|
|
@ -93,7 +93,7 @@ class UserComboOption(UserOption): |
|
|
|
option_types = {'string' : UserStringOption, |
|
|
|
option_types = {'string' : UserStringOption, |
|
|
|
'boolean' : UserBooleanOption, |
|
|
|
'boolean' : UserBooleanOption, |
|
|
|
'combo' : UserComboOption, |
|
|
|
'combo' : UserComboOption, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class OptionInterpreter: |
|
|
|
class OptionInterpreter: |
|
|
|
def __init__(self, subproject, command_line_options): |
|
|
|
def __init__(self, subproject, command_line_options): |
|
|
|