From 355371374ce618f1f396aea2122da0debd9a1e16 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 4 Jun 2014 22:01:18 +0300 Subject: [PATCH] Convert executable command. --- tools/cmake2meson.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py index 1e7ca8753..94197fab3 100755 --- a/tools/cmake2meson.py +++ b/tools/cmake2meson.py @@ -186,6 +186,8 @@ class Converter: line = "%s_dep = dependency('%s')" % (t.args[0].value, t.args[0].value) elif t.name == 'find_library': line = "%s = find_library('%s')" % (t.args[0].value.lower(), t.args[0].value) + elif t.name == 'add_executable': + line = '%s_exe = executable(%s)' % (t.args[0].value, self.convert_args(t.args, False)) elif t.name == 'option': optname = t.args[0].value description = t.args[1].value