diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/wscript | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/src/gui/wscript b/src/gui/wscript index 930a0e0..089a70b 100644 --- a/src/gui/wscript +++ b/src/gui/wscript @@ -2,41 +2,41 @@ from waflib.extras import autowaf as autowaf def build(bld): - obj = bld(features = 'cxx cxxshlib') - obj.source = ''' - EdgeView.cpp - MachinaCanvas.cpp - MachinaGUI.cpp - NodePropertiesWindow.cpp - NodeView.cpp - ''' + obj = bld(features = 'cxx cxxshlib') + obj.source = ''' + EdgeView.cpp + MachinaCanvas.cpp + MachinaGUI.cpp + NodePropertiesWindow.cpp + NodeView.cpp + ''' - obj.includes = ['.', '..', '../..', '../engine'] - obj.export_includes = ['.'] - obj.name = 'libmachina_gui' - obj.target = 'machina_gui' - obj.use = 'libmachina_engine libmachina_client' - autowaf.use_lib(bld, obj, ''' - FLOWCANVAS - GLADEMM - GLIBMM - GNOMECANVASMM - GTKMM - RAUL - SORD - SIGCPP - EUGENE - ''') + obj.includes = ['.', '..', '../..', '../engine'] + obj.export_includes = ['.'] + obj.name = 'libmachina_gui' + obj.target = 'machina_gui' + obj.use = 'libmachina_engine libmachina_client' + autowaf.use_lib(bld, obj, ''' + FLOWCANVAS + GLADEMM + GLIBMM + GNOMECANVASMM + GTKMM + RAUL + SORD + SIGCPP + EUGENE + ''') - # GUI runtime files - bld.install_files('${DATADIR}/machina', 'machina.glade') - bld.install_files('${DATADIR}/machina', 'machina.svg') + # GUI runtime files + bld.install_files('${DATADIR}/machina', 'machina.glade') + bld.install_files('${DATADIR}/machina', 'machina.svg') - # Executable - obj = bld(features = 'cxx cxxprogram') - obj.target = 'machina_gui' - obj.source = 'main.cpp' - obj.includes = ['.', '../..', '../engine'] - obj.defines = 'VERSION="' + bld.env['MACHINA_VERSION'] + '"' - obj.use = 'libmachina_engine libmachina_gui' - autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL MACHINA EUGENE FLOWCANVAS') + # Executable + obj = bld(features = 'cxx cxxprogram') + obj.target = 'machina_gui' + obj.source = 'main.cpp' + obj.includes = ['.', '../..', '../engine'] + obj.defines = 'VERSION="' + bld.env['MACHINA_VERSION'] + '"' + obj.use = 'libmachina_engine libmachina_gui' + autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL MACHINA EUGENE FLOWCANVAS') |