diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-06-04 22:01:18 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-06-04 22:01:18 +0300 |
commit | 355371374ce618f1f396aea2122da0debd9a1e16 (patch) | |
tree | 840f7e35335c10795c59a8bffcaf587cd50843ae /tools/cmake2meson.py | |
parent | 7c6861268ab62131374544f120758b93dd6f037a (diff) | |
download | meson-355371374ce618f1f396aea2122da0debd9a1e16.zip meson-355371374ce618f1f396aea2122da0debd9a1e16.tar.gz meson-355371374ce618f1f396aea2122da0debd9a1e16.tar.bz2 |
Convert executable command.
Diffstat (limited to 'tools/cmake2meson.py')
-rwxr-xr-x | tools/cmake2meson.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py index 1e7ca87..94197fa 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 |