env.Append(CPPPATH = [
'../compiler/nir', # for generated nir_opcodes.h, etc
'#/src',
+ Dir('../mapi'), # src/mapi build path
'#/src/mapi',
'#/src/glsl',
+ Dir('.'), # src/mesa build path
'#/src/mesa',
+ Dir('main'), # src/mesa/main/ build path
'#/src/mesa/main',
'#/src/gallium/include',
'#/src/gallium/auxiliary',
- Dir('../mapi'), # src/mapi build path
- Dir('.'), # src/mesa build path
- Dir('main'), # src/mesa/main/ build path
])
if env['platform'] == 'windows':
)
# Add the dir containing the generated header (somewhere inside the
# build dir) to the include path
- env.Append(CPPPATH = [matypes[0].dir])
+ env.Prepend(CPPPATH = [matypes[0].dir])
#