2010-11-18 02:14:12 +00:00
|
|
|
set(SRCS Src/BPMemLoader.cpp
|
|
|
|
Src/Clipper.cpp
|
|
|
|
Src/CommandProcessor.cpp
|
|
|
|
Src/CPMemLoader.cpp
|
|
|
|
Src/DebugUtil.cpp
|
|
|
|
Src/EfbCopy.cpp
|
|
|
|
Src/EfbInterface.cpp
|
|
|
|
Src/GLUtil.cpp
|
|
|
|
Src/HwRasterizer.cpp
|
|
|
|
Src/main.cpp
|
|
|
|
Src/OpcodeDecoder.cpp
|
|
|
|
Src/PixelEngine.cpp
|
|
|
|
Src/Rasterizer.cpp
|
|
|
|
Src/RasterFont.cpp
|
|
|
|
Src/Renderer.cpp
|
|
|
|
Src/SetupUnit.cpp
|
|
|
|
Src/Statistics.cpp
|
|
|
|
Src/Tev.cpp
|
|
|
|
Src/TextureEncoder.cpp
|
|
|
|
Src/TextureSampler.cpp
|
|
|
|
Src/TransformUnit.cpp
|
|
|
|
Src/VertexLoader.cpp
|
2011-01-29 06:26:03 +00:00
|
|
|
Src/SWVideoConfig.cpp
|
2010-11-18 02:14:12 +00:00
|
|
|
Src/XFMemLoader.cpp)
|
|
|
|
|
2010-12-05 18:10:13 +00:00
|
|
|
if(wxWidgets_FOUND)
|
|
|
|
set(SRCS ${SRCS} Src/VideoConfigDialog.cpp)
|
|
|
|
endif(wxWidgets_FOUND)
|
|
|
|
|
2010-11-18 02:14:12 +00:00
|
|
|
set(LIBS videocommon
|
|
|
|
GLEW
|
|
|
|
SOIL
|
2010-11-18 23:27:27 +00:00
|
|
|
common
|
|
|
|
${OPENGL_LIBRARIES}
|
2010-12-06 13:06:54 +00:00
|
|
|
${X11_LIBRARIES}
|
|
|
|
${wxWidgets_LIBRARIES})
|
2010-11-18 02:14:12 +00:00
|
|
|
|
2011-02-02 21:52:43 +00:00
|
|
|
if(WIN32)
|
2010-11-25 02:26:46 +00:00
|
|
|
set(SRCS ${SRCS} Src/Win32.cpp)
|
2011-02-02 21:52:43 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
2010-11-18 02:14:12 +00:00
|
|
|
set(LIBS ${LIBS} clrun)
|
|
|
|
endif()
|
|
|
|
|
2011-01-31 02:39:25 +00:00
|
|
|
add_library(videosoftware STATIC ${SRCS})
|
|
|
|
target_link_libraries(videosoftware ${LIBS})
|