13
0
livetrax/libs/libgnomecanvasmm/SConscript
Carl Hetherington 61c990dfba Upgrade gtkmm to 2.10.8, glibmm to 2.13.3 and add cairomm 1.2.4
git-svn-id: svn://localhost/ardour2/trunk@2630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12 23:44:49 +00:00

34 lines
1.2 KiB
Python

# -*- python -*-
import os
import os.path
import glob
gnomecanvasmm_files = glob.glob('libgnomecanvasmm/*.cc')
Import('env libraries install_prefix')
gnomecanvasmm = env.Copy()
gnomecanvasmm.Merge([libraries['glibmm2'],
libraries['gtk2'],
libraries['sigc2'],
libraries['pangomm'],
libraries['atkmm'],
libraries['gdkmm2'],
libraries['gtkmm2'],
libraries['libgnomecanvas2'],
libraries['cairomm']])
gnomecanvasmm.Append(CXXFLAGS = ["-DGLIBMM_PROPERTIES_ENABLED", "-DGLIBMM_EXCEPTIONS_ENABLED"])
libgnomecanvasmm = gnomecanvasmm.SharedLibrary('libgnomecanvasmm', gnomecanvasmm_files)
Default(libgnomecanvasmm)
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2'), libgnomecanvasmm))
env.Alias('tarball', env.Distribute (env['DISTTREE'],
[ 'SConscript', 'libgnomecanvasmmconfig.h', 'libgnomecanvasmm.h'] +
gnomecanvasmm_files +
glob.glob('libgnomecanvasmm/*.h') +
glob.glob('libgnomecanvasmm/private/*.h')
))