Paul Davis
68e943265e
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
25 lines
782 B
Python
25 lines
782 B
Python
# -*- python -*-
|
|
|
|
import os
|
|
import os.path
|
|
import glob
|
|
|
|
gdkmm2_files = glob.glob('gdkmm/*.cc')
|
|
|
|
Import('env libraries install_prefix')
|
|
gdkmm2 = env.Clone()
|
|
gdkmm2.Merge([libraries['glibmm2'], libraries['gtk2'], libraries['sigc2'], libraries['pangomm'], libraries['cairomm']])
|
|
gdkmm2.Append(CXXFLAGS=["-Ilibs/gtkmm2/gtk", "-DGLIBMM_EXCEPTIONS_ENABLED"])
|
|
|
|
libgdkmm2 = gdkmm2.SharedLibrary('gdkmm2', gdkmm2_files)
|
|
Default(libgdkmm2)
|
|
|
|
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libgdkmm2))
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
[ 'SConscript', 'gdkmmconfig.h', 'gdkmm.h'] +
|
|
gdkmm2_files +
|
|
glob.glob('gdkmm/*.h') +
|
|
glob.glob('gdkmm/private/*.h')
|
|
))
|