mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
89cb286812
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@143 8ced0084-cf51-0410-be5f-012b33b47a6e
33 lines
1.2 KiB
Python
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"])
|