1Import('*') 2 3env = env.Clone() 4 5env.MSVC2013Compat() 6 7env.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. 17env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath]) 18env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath]) 19 20sources = env.ParseSourceList('Makefile.sources', 'LIBCOMPILER_FILES') 21 22compiler = env.ConvenienceLibrary( 23 target = 'compiler', 24 source = sources 25) 26Export('compiler') 27 28SConscript('SConscript.glsl') 29SConscript('SConscript.nir') 30