Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / compiler / SConscript
1 Import('*')
2
3 env = env.Clone()
4
5 env.MSVC2013Compat()
6
7 env.Prepend(CPPPATH = [
8 '#include',
9 '#src',
10 '#src/mapi',
11 '#src/mesa',
12 '#src/gallium/include',
13 '#src/gallium/auxiliary',
14 ])
15
16 # Make generated headers reachable from the include path.
17 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath])
18 env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath])
19
20 sources = env.ParseSourceList('Makefile.sources', 'LIBCOMPILER_FILES')
21
22 compiler = env.ConvenienceLibrary(
23 target = 'compiler',
24 source = sources
25 )
26 Export('compiler')
27
28 SConscript('SConscript.glsl')
29 SConscript('SConscript.nir')
30 SConscript('SConscript.spirv')