diff options
author | David Robillard <d@drobilla.net> | 2019-04-21 14:22:06 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-21 14:22:13 +0200 |
commit | 26425a93c7972c1d3cc98c3e7c89378a831e6e71 (patch) | |
tree | e3914ad15484b469b40bdb1cb441a26e3d2ae1ea /wscript | |
parent | 41e0a56c1d9ec16d3ec722940a9cc94c48544869 (diff) | |
parent | 9cd6048f6979e5c5880514eab1ef102874495b69 (diff) | |
download | suil-26425a93c7972c1d3cc98c3e7c89378a831e6e71.tar.gz suil-26425a93c7972c1d3cc98c3e7c89378a831e6e71.tar.bz2 suil-26425a93c7972c1d3cc98c3e7c89378a831e6e71.zip |
Update autowaf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 36 |
1 files changed, 17 insertions, 19 deletions
@@ -243,8 +243,8 @@ def build(bld): defines = ['SUIL_SHARED', 'SUIL_INTERNAL'], install_path = module_dir, cxxflags = cflags, - lib = modlib) - autowaf.use_lib(bld, obj, 'GTK2 QT4 LV2') + lib = modlib, + uselib = 'GTK2 QT4 LV2') if bld.env.SUIL_WITH_GTK2_IN_QT5: obj = bld(features = 'cxx cxxshlib', @@ -254,8 +254,8 @@ def build(bld): defines = ['SUIL_SHARED', 'SUIL_INTERNAL'], install_path = module_dir, cxxflags = cflags, - lib = modlib) - autowaf.use_lib(bld, obj, 'GTK2 QT5 LV2') + lib = modlib, + uselib = 'GTK2 QT5 LV2') if bld.env.SUIL_WITH_QT4_IN_GTK2: obj = bld(features = 'cxx cxxshlib', @@ -266,8 +266,8 @@ def build(bld): install_path = module_dir, cxxflags = cflags, lib = modlib, + uselib = 'GTK2 QT4 LV2', linkflags = bld.env.NODELETE_FLAGS) - autowaf.use_lib(bld, obj, 'GTK2 QT4 LV2') if bld.env.SUIL_WITH_QT5_IN_GTK2: obj = bld(features = 'cxx cxxshlib', @@ -278,8 +278,8 @@ def build(bld): install_path = module_dir, cxxflags = cflags, lib = modlib, + uselib = 'GTK2 QT5 LV2', linkflags = bld.env.NODELETE_FLAGS) - autowaf.use_lib(bld, obj, 'GTK2 QT5 LV2') if bld.env.SUIL_WITH_X11_IN_GTK2: obj = bld(features = 'c cshlib', @@ -290,8 +290,8 @@ def build(bld): install_path = module_dir, cflags = cflags, lib = modlib + ['X11'], + uselib = 'GTK2 GTK2_X11 LV2', linkflags = bld.env.NODELETE_FLAGS) - autowaf.use_lib(bld, obj, 'GTK2 GTK2_X11 LV2') if bld.env.SUIL_WITH_X11_IN_GTK3: obj = bld(features = 'c cshlib', @@ -302,8 +302,8 @@ def build(bld): install_path = module_dir, cflags = cflags, lib = modlib + ['X11'], + uselib = 'GTK3 GTK3_X11 LV2', linkflags = bld.env.NODELETE_FLAGS) - autowaf.use_lib(bld, obj, 'GTK3 GTK3_X11 LV2') if bld.env.SUIL_WITH_COCOA_IN_GTK2: obj = bld(features = 'cxx cshlib', @@ -314,8 +314,8 @@ def build(bld): install_path = module_dir, cflags = cflags, lib = modlib, + uselib = 'GTK2 LV2', linkflags = ['-framework', 'Cocoa']) - autowaf.use_lib(bld, obj, 'GTK2 LV2') if bld.env.SUIL_WITH_WIN_IN_GTK2: obj = bld(features = 'cxx cxxshlib', @@ -326,8 +326,8 @@ def build(bld): install_path = module_dir, cflags = cflags, lib = modlib, + uselib = 'GTK2 LV2', linkflags = bld.env.NODELETE_FLAGS) - autowaf.use_lib(bld, obj, 'GTK2 LV2') if bld.env.SUIL_WITH_X11_IN_QT4: obj = bld(features = 'cxx cxxshlib', @@ -337,8 +337,8 @@ def build(bld): defines = ['SUIL_SHARED', 'SUIL_INTERNAL'], install_path = module_dir, cflags = cflags, - lib = modlib) - autowaf.use_lib(bld, obj, 'QT4 LV2') + lib = modlib, + uselib = 'QT4 LV2') if bld.env.SUIL_WITH_X11_IN_QT5: obj = bld(features = 'cxx cxxshlib', @@ -348,8 +348,8 @@ def build(bld): defines = ['SUIL_SHARED', 'SUIL_INTERNAL'], install_path = module_dir, cflags = cflags, - lib = modlib) - autowaf.use_lib(bld, obj, 'QT5 LV2') + lib = modlib, + uselib = 'QT5 LV2') if bld.env.SUIL_WITH_COCOA_IN_QT5: obj = bld(features = 'cxx cxxshlib', @@ -360,8 +360,8 @@ def build(bld): install_path = module_dir, cflags = cflags, lib = modlib, + uselib = 'QT5 QT5_MAC_EXTRAS LV2', linkflags = ['-framework', 'Cocoa']) - autowaf.use_lib(bld, obj, 'QT5 QT5_MAC_EXTRAS LV2') if bld.env.SUIL_WITH_X11: obj = bld(features = 'c cshlib', @@ -371,15 +371,13 @@ def build(bld): defines = ['SUIL_SHARED', 'SUIL_INTERNAL'], install_path = module_dir, cflags = cflags, - lib = modlib) - autowaf.use_lib(bld, obj, 'X11 LV2') + lib = modlib, + uselib = 'X11 LV2') # Documentation autowaf.build_dox(bld, 'SUIL', SUIL_VERSION, top, out) bld.add_post_fun(autowaf.run_ldconfig) - if bld.env.DOCS: - bld.add_post_fun(lambda ctx: autowaf.make_simple_dox(APPNAME)) def lint(ctx): "checks code for style issues" |