From 451e1aabdad810f2410c35436a4e6e43d34904a8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Nov 2008 03:23:26 +0000 Subject: Upgrade to waf 1.5.0. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1823 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/wscript | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/gui') diff --git a/src/gui/wscript b/src/gui/wscript index 97e7a30..38a69a2 100644 --- a/src/gui/wscript +++ b/src/gui/wscript @@ -1,9 +1,8 @@ #!/usr/bin/env python -import Params import autowaf def build(bld): - obj = bld.create_obj('cpp', 'shlib') + obj = bld.new_task_gen('cxx', 'shlib') obj.source = ''' EdgeView.cpp MachinaCanvas.cpp @@ -29,15 +28,15 @@ def build(bld): ''') # GUI runtime files - install_files('DATADIR', 'machina', 'machina.glade') - install_files('DATADIR', 'machina', 'machina.svg') + bld.install_files('${DATADIR}/machina', 'machina.glade') + bld.install_files('${DATADIR}/machina', 'machina.svg') # Executable - obj = bld.create_obj('cpp', 'program') + obj = bld.new_task_gen('cxx', 'program') obj.target = 'machina_gui' obj.source = 'main.cpp' obj.includes = ['.', '../engine'] - obj.defines = 'VERSION=\\\"' + bld.env()['MACHINA_VERSION'] + '\\\"' + obj.defines = 'VERSION=\\\"' + bld.env['MACHINA_VERSION'] + '\\\"' obj.uselib_local = 'libmachina_engine libmachina_gui' autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM REDLANDMM RAUL MACHINA EUGENE FLOWCANVAS') -- cgit v1.2.1