aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index e3acb24..78e94d9 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -2,7 +2,7 @@
import autowaf
def build(bld):
- obj = bld.new_task_gen('cxx', 'shlib')
+ obj = bld(features = 'cxx cxxshlib')
obj.source = '''
EdgeView.cpp
MachinaCanvas.cpp
@@ -11,11 +11,11 @@ def build(bld):
NodeView.cpp
'''
- obj.includes = ['.', '..', '../engine']
- obj.export_incdirs = ['.']
- obj.name = 'libmachina_gui'
- obj.target = 'machina_gui'
- obj.uselib_local = 'libmachina_engine'
+ obj.includes = ['.', '..', '../engine']
+ obj.export_includes = ['.']
+ obj.name = 'libmachina_gui'
+ obj.target = 'machina_gui'
+ obj.use = 'libmachina_engine'
autowaf.use_lib(bld, obj, '''
FLOWCANVAS
GLADEMM
@@ -34,9 +34,9 @@ def build(bld):
# Executable
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.uselib_local = 'libmachina_engine libmachina_gui'
+ 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 REDLANDMM RAUL MACHINA EUGENE FLOWCANVAS')