summaryrefslogtreecommitdiffstats
path: root/lib/ladspa/SConscript
blob: c8ee460ca2754596876ab15610b7d11b863420a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os

#Import('env') # do we want to do this? we don't really want to pollute the higher level env with the lower, right?
Import('build')

env = Environment(SHLIBPREFIX='') #We want to build the LADSPA plugins without any "lib" prefix on POSIX platforms. <-- why?
env.Append(CPPPATH=['#lib/ladspa']) #XXX should be '.' but SCons isn't smart enough to know that because this is a subfile in a variant dir that we need to rewrite the paths

nodes = []

#These plugins will never compile on windows. - Albert
if not build.platform_is_windows:
	nodes += SConscript(['caps/SConscript'], exports='env')
	nodes += SConscript(['cmt/SConscript'], exports='env')

Return('nodes')