diff options
author | David Robillard <d@drobilla.net> | 2009-02-26 02:24:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-26 02:24:16 +0000 |
commit | 76f242cb804bd3c612ae5abfd0d3d078c0317dd0 (patch) | |
tree | 399476dbb1cc4c0121d79ac048852d4b79097383 /libs/taglib | |
parent | 593ffe80331f9cca68664f9dd501ce95b545f0c8 (diff) |
Version file building stuff.
Ardour should now compile from a fresh svn checkout using only waf.
git-svn-id: svn://localhost/ardour2/branches/3.0@4671 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/taglib')
-rw-r--r-- | libs/taglib/wscript | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/libs/taglib/wscript b/libs/taglib/wscript index 12a707ab32..e8fd74a7d5 100644 --- a/libs/taglib/wscript +++ b/libs/taglib/wscript @@ -19,6 +19,8 @@ VERSION = LIBTAGLIB_VERSION srcdir = '.' blddir = 'build' +path_prefix = 'libs/taglib/' + def set_options(opt): autowaf.set_options(opt) @@ -29,25 +31,24 @@ def configure(conf): def build(bld): # Library obj = bld.new_task_gen('cxx', 'shlib') - prefix = 'libs/taglib/' - sources = glob.glob(prefix + 'taglib/*.cpp') - sources += glob.glob(prefix + 'taglib/flac/*.cpp') - sources += glob.glob(prefix + 'taglib/mpc/*.cpp') - sources += glob.glob(prefix + 'taglib/mpeg/*.cpp') - sources += glob.glob(prefix + 'taglib/mpeg/id3v1/*.cpp') - sources += glob.glob(prefix + 'taglib/mpeg/id3v2/*.cpp') - sources += glob.glob(prefix + 'taglib/mpeg/id3v2/frames/*.cpp') - sources += glob.glob(prefix + 'taglib/ogg/*.cpp') - sources += glob.glob(prefix + 'taglib/ogg/vorbis/*.cpp') - sources += glob.glob(prefix + 'taglib/ogg/speex/*.cpp') - sources += glob.glob(prefix + 'taglib/ogg/flac/*.cpp') - sources += glob.glob(prefix + 'taglib/trueaudio/*.cpp') - sources += glob.glob(prefix + 'taglib/wavpack/*.cpp') - sources += glob.glob(prefix + 'taglib/ape/*.cpp') - sources += glob.glob(prefix + 'taglib/toolkit/*.cpp') + sources = glob.glob(path_prefix + 'taglib/*.cpp') + sources += glob.glob(path_prefix + 'taglib/flac/*.cpp') + sources += glob.glob(path_prefix + 'taglib/mpc/*.cpp') + sources += glob.glob(path_prefix + 'taglib/mpeg/*.cpp') + sources += glob.glob(path_prefix + 'taglib/mpeg/id3v1/*.cpp') + sources += glob.glob(path_prefix + 'taglib/mpeg/id3v2/*.cpp') + sources += glob.glob(path_prefix + 'taglib/mpeg/id3v2/frames/*.cpp') + sources += glob.glob(path_prefix + 'taglib/ogg/*.cpp') + sources += glob.glob(path_prefix + 'taglib/ogg/vorbis/*.cpp') + sources += glob.glob(path_prefix + 'taglib/ogg/speex/*.cpp') + sources += glob.glob(path_prefix + 'taglib/ogg/flac/*.cpp') + sources += glob.glob(path_prefix + 'taglib/trueaudio/*.cpp') + sources += glob.glob(path_prefix + 'taglib/wavpack/*.cpp') + sources += glob.glob(path_prefix + 'taglib/ape/*.cpp') + sources += glob.glob(path_prefix + 'taglib/toolkit/*.cpp') obj.source = [] for i in sources: - obj.source += [ i.replace(prefix, '') ] + obj.source += [ i.replace(path_prefix, '') ] include_dirs = ''' taglib |