#! /usr/bin/env python # encoding: utf-8 # Thomas Nagy, 2006-2009 (ita) # A c program that links using the GLIB library, defined in the configuration # the only change is that gnome is replaced by cc or cpp (as usual) obj = bld.new_task_gen( features = 'cc cprogram', includes = '# .', # top-level and current directory uselib = 'GTK GNOME GNOMEUI DBUSGLIB', target = 'gnome-hello') obj.find_sources_in_dirs('.') # take the sources in the current folder obj.add_dbus_file('manager.xml', 'test_prefix', 'glib-server') obj.add_marshal_file('marshal.list', 'test_prefix') # it is also possible to add tons if libraries #obj.uselib='GTK GNOME GNOMEUI GLIB BONOBO BONOBOUI PRINT PRINTUI GLADE CANVAS XML GDK'