2010-11-17 19:14:12 -07: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/VertexFormatConverter.cpp
|
|
|
|
Src/VertexLoader.cpp
|
|
|
|
Src/VideoConfig.cpp
|
2010-12-01 22:38:48 -07:00
|
|
|
Src/VideoConfigDialog.cpp
|
2010-11-17 19:14:12 -07:00
|
|
|
Src/XFMemLoader.cpp)
|
|
|
|
|
|
|
|
set(LIBS videocommon
|
|
|
|
GLEW
|
|
|
|
SOIL
|
2010-11-18 16:27:27 -07:00
|
|
|
common
|
|
|
|
${OPENGL_LIBRARIES}
|
|
|
|
${X11_LIBRARIES})
|
2010-11-17 19:14:12 -07:00
|
|
|
|
|
|
|
if((${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND NOT wxWidgets_FOUND)
|
|
|
|
set(SRCS ${SRCS} Src/cocoaGL.m)
|
|
|
|
elseif(WIN32)
|
2010-11-24 19:26:46 -07:00
|
|
|
set(SRCS ${SRCS} Src/Win32.cpp)
|
2010-11-17 19:14:12 -07:00
|
|
|
elseif(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
|
|
|
set(LIBS ${LIBS} clrun)
|
|
|
|
endif()
|
|
|
|
|
2010-11-19 17:22:56 -07:00
|
|
|
add_library(Plugin_VideoSoftware MODULE ${SRCS})
|
2010-11-17 19:14:12 -07:00
|
|
|
target_link_libraries(Plugin_VideoSoftware ${LIBS})
|
|
|
|
install(TARGETS Plugin_VideoSoftware
|
|
|
|
LIBRARY DESTINATION ${plugindir}
|
|
|
|
RUNTIME DESTINATION ${plugindir})
|