aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/windows.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-01-08 22:47:57 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-09 21:11:48 +0200
commitfbabe8ad85725762e46b7c4c2f2c680c3351ec80 (patch)
treed8293e07d3e66096e9789e41cb04364588f2d841 /mesonbuild/modules/windows.py
parent24221d71ccd341759b008cf1918826910c40247c (diff)
downloadmeson-fbabe8ad85725762e46b7c4c2f2c680c3351ec80.zip
meson-fbabe8ad85725762e46b7c4c2f2c680c3351ec80.tar.gz
meson-fbabe8ad85725762e46b7c4c2f2c680c3351ec80.tar.bz2
There are two different kinds of extensions: modules that create new
objects directly and snippets that just call into interpreter methods.
Diffstat (limited to 'mesonbuild/modules/windows.py')
-rw-r--r--mesonbuild/modules/windows.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py
index 8574dbe..8203789 100644
--- a/mesonbuild/modules/windows.py
+++ b/mesonbuild/modules/windows.py
@@ -12,14 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+import os
+
from .. import mesonlib, dependencies, build
from ..mesonlib import MesonException
from . import get_include_args
from . import ModuleReturnValue
+from . import ExtensionModule
-import os
-
-class WindowsModule:
+class WindowsModule(ExtensionModule):
def detect_compiler(self, compilers):
for l in ('c', 'cpp'):