mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 20:10:14 +01:00
Emil Velikov:
- Attribute the src/{glsl,compiler}/nir move
- Flesh out to separate SConscript
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
25 lines
436 B
Python
25 lines
436 B
Python
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')
|
|
|
|
SConscript('SConscript.glsl')
|
|
SConscript('SConscript.nir')
|