2010-11-18 04:14:12 +02:00
|
|
|
set(SRCS Src/BPMemLoader.cpp
|
|
|
|
Src/Clipper.cpp
|
2011-02-03 21:55:30 +02:00
|
|
|
Src/SWCommandProcessor.cpp
|
2010-11-18 04:14:12 +02:00
|
|
|
Src/CPMemLoader.cpp
|
|
|
|
Src/DebugUtil.cpp
|
|
|
|
Src/EfbCopy.cpp
|
|
|
|
Src/EfbInterface.cpp
|
|
|
|
Src/HwRasterizer.cpp
|
2011-02-03 21:55:30 +02:00
|
|
|
Src/SWmain.cpp
|
2010-11-18 04:14:12 +02:00
|
|
|
Src/OpcodeDecoder.cpp
|
2011-02-03 21:55:30 +02:00
|
|
|
Src/SWPixelEngine.cpp
|
2010-11-18 04:14:12 +02:00
|
|
|
Src/Rasterizer.cpp
|
2011-02-03 21:55:30 +02:00
|
|
|
Src/SWRenderer.cpp
|
2010-11-18 04:14:12 +02:00
|
|
|
Src/SetupUnit.cpp
|
2011-02-03 21:55:30 +02:00
|
|
|
Src/SWStatistics.cpp
|
2010-11-18 04:14:12 +02:00
|
|
|
Src/Tev.cpp
|
|
|
|
Src/TextureEncoder.cpp
|
|
|
|
Src/TextureSampler.cpp
|
|
|
|
Src/TransformUnit.cpp
|
2011-02-03 21:55:30 +02:00
|
|
|
Src/SWVertexLoader.cpp
|
2011-01-29 08:26:03 +02:00
|
|
|
Src/SWVideoConfig.cpp
|
2010-11-18 04:14:12 +02:00
|
|
|
Src/XFMemLoader.cpp)
|
|
|
|
|
2010-12-05 20:10:13 +02:00
|
|
|
if(wxWidgets_FOUND)
|
|
|
|
set(SRCS ${SRCS} Src/VideoConfigDialog.cpp)
|
|
|
|
endif(wxWidgets_FOUND)
|
|
|
|
|
2010-11-18 04:14:12 +02:00
|
|
|
set(LIBS videocommon
|
|
|
|
SOIL
|
2010-11-19 01:27:27 +02:00
|
|
|
common
|
2010-12-06 15:06:54 +02:00
|
|
|
${X11_LIBRARIES}
|
|
|
|
${wxWidgets_LIBRARIES})
|
2012-12-17 22:54:20 +02:00
|
|
|
if(USE_EGL)
|
|
|
|
set(LIBS ${LIBS}
|
|
|
|
EGL)
|
|
|
|
endif()
|
2010-11-18 04:14:12 +02:00
|
|
|
|
2012-12-17 22:54:20 +02:00
|
|
|
if(USE_GLES)
|
2013-03-31 07:32:13 +03:00
|
|
|
set(SRCS ${SRCS} ../Plugin_VideoOGL/Src/GLUtil.cpp)
|
2012-12-17 22:54:20 +02:00
|
|
|
set(LIBS ${LIBS}
|
|
|
|
GLESv2)
|
|
|
|
else()
|
2013-03-31 07:32:13 +03:00
|
|
|
set(SRCS ${SRCS} Src/RasterFont.cpp)
|
2012-12-17 22:54:20 +02:00
|
|
|
set(LIBS ${LIBS}
|
|
|
|
GLEW
|
|
|
|
${OPENGL_LIBRARIES})
|
|
|
|
endif()
|
2011-02-02 23:52:43 +02:00
|
|
|
if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
2010-11-18 04:14:12 +02:00
|
|
|
set(LIBS ${LIBS} clrun)
|
|
|
|
endif()
|
|
|
|
|
2011-01-31 04:39:25 +02:00
|
|
|
add_library(videosoftware STATIC ${SRCS})
|
|
|
|
target_link_libraries(videosoftware ${LIBS})
|