2006-04-25 16:23:50 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
import os
|
|
|
|
import os.path
|
2005-05-13 16:47:18 -04:00
|
|
|
import glob
|
|
|
|
|
|
|
|
gdkmm2_files = glob.glob('gdkmm/*.cc')
|
|
|
|
|
2006-04-25 20:45:27 -04:00
|
|
|
Import('env libraries install_prefix')
|
2005-05-13 16:47:18 -04:00
|
|
|
gdkmm2 = env.Copy()
|
2007-11-12 18:44:49 -05:00
|
|
|
gdkmm2.Merge([libraries['glibmm2'], libraries['gtk2'], libraries['sigc2'], libraries['pangomm'], libraries['cairomm']])
|
|
|
|
gdkmm2.Append(CXXFLAGS=["-Ilibs/gtkmm2/gtk", "-DGLIBMM_EXCEPTIONS_ENABLED"])
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2006-04-25 16:23:50 -04:00
|
|
|
libgdkmm2 = gdkmm2.SharedLibrary('gdkmm2', gdkmm2_files)
|
2005-05-13 16:47:18 -04:00
|
|
|
Default(libgdkmm2)
|
2006-01-10 23:36:44 -05:00
|
|
|
|
2008-02-21 14:30:01 -05:00
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libgdkmm2))
|
2006-04-25 20:45:27 -04:00
|
|
|
|
2006-01-10 23:36:44 -05:00
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
[ 'SConscript', 'gdkmmconfig.h', 'gdkmm.h'] +
|
|
|
|
gdkmm2_files +
|
|
|
|
glob.glob('gdkmm/*.h') +
|
|
|
|
glob.glob('gdkmm/private/*.h')
|
|
|
|
))
|