summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-06-20 18:50:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-06-20 18:50:38 +0000
commitbe362ae53c1d191e23d8a084d0327044bce4544c (patch)
treefb64f8276c64a495a0fdcf99e772d983af7725c0 /SConstruct
parentc03dbd7568322d553ff681cb7f0bbd3452abd6cf (diff)
fixes for libsndfile conversion issues, tape track waveform display and overloaded virtual functions
git-svn-id: svn://localhost/ardour2/trunk@624 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct17
1 files changed, 10 insertions, 7 deletions
diff --git a/SConstruct b/SConstruct
index 9b4144f51c..157d7c0b8f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -408,10 +408,6 @@ libraries['pbd3'] = LibraryInfo (LIBS='pbd', LIBPATH='#libs/pbd3', CPPPATH='#
libraries['gtkmm2ext'] = LibraryInfo (LIBS='gtkmm2ext', LIBPATH='#libs/gtkmm2ext', CPPPATH='#libs/gtkmm2ext')
#libraries['cassowary'] = LibraryInfo(LIBS='cassowary', LIBPATH='#libs/cassowary', CPPPATH='#libs/cassowary')
-libraries['fst'] = LibraryInfo()
-if env['VST']:
- libraries['fst'].ParseConfig('pkg-config --cflags --libs libfst')
-
#
# Check for libusb
@@ -532,6 +528,9 @@ if env['SYSLIBS']:
'libs/ardour'
]
+ if env['VST']:
+ subdirs = ['libs/fst'] + subdirs + ['vst']
+
gtk_subdirs = [
# 'libs/flowcanvas',
'libs/gtkmm2ext',
@@ -585,6 +584,9 @@ else:
'libs/ardour'
]
+ if env['VST']:
+ subdirs = ['libs/fst'] + subdirs + ['vst']
+
gtk_subdirs = [
'libs/glibmm2',
'libs/gtkmm2/pango',
@@ -787,10 +789,11 @@ if env['DEBUG'] == 1:
else:
env.Append(CCFLAGS=" ".join (opt_flags))
-env.Append(CCFLAGS="-Wall")
+#
+# warnings flags
+#
-if env['VST']:
- env.Append(CCFLAGS="-DVST_SUPPORT")
+env.Append(CCFLAGS="-Wall -Woverloaded-virtual")
if env['LIBLO']:
env.Append(CCFLAGS="-DHAVE_LIBLO")