summaryrefslogtreecommitdiffstats
path: root/src/compiler/SConscript
blob: 412da0e62bdf5a07a63c9aa1d8b5ed4e9af19c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Import('*')

env = env.Clone()

env.MSVC2013Compat()

env.Prepend(CPPPATH = [
    '#include',
    '#src',
    '#src/mapi',
    '#src/mesa',
    '#src/gallium/include',
    '#src/gallium/auxiliary',
])

sources = env.ParseSourceList('Makefile.sources', 'LIBCOMPILER_FILES')

compiler = env.ConvenienceLibrary(
    target = 'compiler',
    source = sources
)
Export('compiler')