aco: Don't store LS VS outputs to LDS when TCS doesn't need them.
[mesa.git] / src / gallium / state_trackers / osmesa / SConscript
1 import os
2
3 Import('*')
4
5 env = env.Clone()
6
7 env.Append(CPPPATH = [
8 '#src/mapi',
9 '#src/mesa',
10 '.',
11 ])
12
13 if env['platform'] == 'windows':
14 env.AppendUnique(CPPDEFINES = [
15 'BUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers
16 'WIN32_LEAN_AND_MEAN', # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx
17 '_GLAPI_NO_EXPORTS', # prevent _glapi_* from being declared __declspec(dllimport)
18 ])
19
20 st_osmesa = env.ConvenienceLibrary(
21 target ='st_osmesa',
22 source = env.ParseSourceList('Makefile.sources', 'C_SOURCES'),
23 )
24 Export('st_osmesa')