From 9b314c9c24b52ecdda81510ad7a7f0e3914895d0 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 2 Jun 2018 02:44:42 +0530 Subject: FeatureNew: add two features that were just merged --- mesonbuild/modules/windows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesonbuild/modules/windows.py') diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py index c6c9a64..fb5bacf 100644 --- a/mesonbuild/modules/windows.py +++ b/mesonbuild/modules/windows.py @@ -20,7 +20,7 @@ from ..mesonlib import MesonException, extract_as_list from . import get_include_args from . import ModuleReturnValue from . import ExtensionModule -from ..interpreterbase import permittedKwargs +from ..interpreterbase import permittedKwargs, FeatureNewKwargs class WindowsModule(ExtensionModule): @@ -30,6 +30,7 @@ class WindowsModule(ExtensionModule): return compilers[l] raise MesonException('Resource compilation requires a C or C++ compiler.') + @FeatureNewKwargs('windows.compile_resources', '0.47.0', ['depend_files']) @permittedKwargs({'args', 'include_directories', 'depend_files'}) def compile_resources(self, state, args, kwargs): comp = self.detect_compiler(state.compilers) -- cgit v1.1