summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/SConscript
blob: b1bc0ebef2c800a76e0ea1dcf9b7e80f6a931bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- python -*-

Import('env')

files = [
	'BPMemory.cpp',
	'CPMemory.cpp',
	'memcpy_amd.cpp',
	'LookUpTables.cpp',
	'OpcodeDecoding.cpp',
	'TextureDecoder.cpp',
	'XFMemory.cpp',
	'XFBConvert.cpp',
	'PixelShaderGen.cpp',
	'PixelShaderManager.cpp',
	'VertexShaderGen.cpp',
	'VertexShaderManager.cpp',
	'VertexLoader.cpp',
	'VertexLoader_Color.cpp',
	'VertexLoader_Normal.cpp',
	'VertexLoader_Position.cpp',
	'VertexLoader_TextCoord.cpp',
	'ImageWrite.cpp',
	'NativeVertexWriter.cpp',
	'Statistics.cpp',
	'Fifo.cpp',
	'VideoState.cpp',
	'Profiler.cpp',
	]

env_common = env.Clone()
env_common.Append(CXXFLAGS = [ '-fPIC' ])
env_common.Append(CXXFLAGS = [ '-mssse3' ]) # For TextureDecoder
env_common.StaticLibrary("videocommon", files)