dolphin/Source/Plugins/Plugin_VideoOGL/Src/SConscript
2008-08-06 21:07:31 +00:00

33 lines
1.2 KiB
Python

Import('env')
import sys
files = ["BPStructs.cpp",
"DataReader.cpp",
"Fifo.cpp",
"Globals.cpp",
"GLInit.cpp",
"main.cpp",
"memcpy_amd.cpp",
"OpcodeDecoding.cpp",
# "OpcodeReaders.cpp", # outdated
"PixelShader.cpp",
"PixelShaderManager.cpp",
"rasterfont.cpp",
"Render.cpp",
# "TextureDecoder.cpp",
"TextureMngr.cpp",
"VertexLoader.cpp",
"VertexLoader_Normal.cpp",
"VertexShader.cpp",
"VertexShaderManager.cpp",
# "Linux/Conf.cpp",
# "Linux/Linux.cpp",
"GUI/ConfigDlg.cpp",
]
if sys.platform == 'darwin':
gfxenv=env.Copy(CXXFLAGS = " -DMACOSX=1 `wx-config --cppflags` ", LINKFLAGS = " -framework OpenGL -framework Cg `wx-config --libs` ")
gfxenv.SharedLibrary("../../../../Binary/mac/Plugins/zeroogl.so", files, LIBS=["videocommon", "common", "cairo", "GLEW"])
else:
gfxenv=env.Copy(CXXFLAGS = " `wx-config --cppflags` `pkg-config --cflags xxf86vm` ", LINKFLAGS = "`wx-config --libs` `pkg-config --libs xxf86vm` ")
gfxenv.SharedLibrary("../../../../Binary/linux/Plugins/zeroogl.so", files, LIBS=["videocommon", "common", "cairo", "GL", "GLU", "GLEW", "CgGL", "Cg", "X11"])