2010-11-01 15:47:02 +00:00
|
|
|
set(SRCS Src/BPMemory.cpp
|
|
|
|
Src/BPStructs.cpp
|
|
|
|
Src/CommandProcessor.cpp
|
|
|
|
Src/CPMemory.cpp
|
|
|
|
Src/DLCache.cpp
|
|
|
|
Src/Fifo.cpp
|
2010-11-14 23:31:53 +00:00
|
|
|
Src/FramebufferManagerBase.cpp
|
2010-11-01 15:47:02 +00:00
|
|
|
Src/HiresTextures.cpp
|
|
|
|
Src/ImageWrite.cpp
|
|
|
|
Src/IndexGenerator.cpp
|
|
|
|
Src/memcpy_amd.cpp
|
|
|
|
Src/OnScreenDisplay.cpp
|
|
|
|
Src/OpcodeDecoding.cpp
|
|
|
|
Src/PixelEngine.cpp
|
|
|
|
Src/PixelShaderGen.cpp
|
|
|
|
Src/PixelShaderManager.cpp
|
|
|
|
Src/Profiler.cpp
|
|
|
|
Src/Statistics.cpp
|
|
|
|
Src/TextureCacheBase.cpp
|
|
|
|
Src/TextureConversionShader.cpp
|
|
|
|
Src/TextureDecoder.cpp
|
|
|
|
Src/VertexLoader.cpp
|
|
|
|
Src/VertexLoaderManager.cpp
|
|
|
|
Src/VertexLoader_Color.cpp
|
|
|
|
Src/VertexLoader_Normal.cpp
|
|
|
|
Src/VertexLoader_Position.cpp
|
|
|
|
Src/VertexLoader_TextCoord.cpp
|
|
|
|
Src/VertexManagerBase.cpp
|
|
|
|
Src/VertexShaderGen.cpp
|
|
|
|
Src/VertexShaderManager.cpp
|
|
|
|
Src/VideoConfig.cpp
|
|
|
|
Src/VideoState.cpp
|
|
|
|
Src/XFBConvert.cpp
|
|
|
|
Src/XFMemory.cpp
|
2010-11-13 20:02:01 +00:00
|
|
|
Src/XFStructs.cpp
|
|
|
|
Src/OpenCL/OCLTextureDecoder.cpp)
|
2010-11-01 15:47:02 +00:00
|
|
|
|
2010-11-16 04:34:52 +00:00
|
|
|
if(ENCODE_FRAMEDUMPS OR WIN32)
|
2010-11-14 21:14:26 +00:00
|
|
|
set(SRCS ${SRCS} Src/AVIDump.cpp)
|
|
|
|
endif()
|
|
|
|
|
2010-11-01 15:47:02 +00:00
|
|
|
add_library(videocommon STATIC ${SRCS})
|
2010-11-17 01:03:39 +00:00
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
2010-11-16 04:34:52 +00:00
|
|
|
if(ENCODE_FRAMEDUMPS)
|
2010-11-14 21:14:26 +00:00
|
|
|
target_link_libraries(videocommon avcodec swscale)
|
|
|
|
add_definitions(-D__STDC_CONSTANT_MACROS)
|
|
|
|
endif()
|
2010-11-05 02:23:24 +00:00
|
|
|
add_definitions(-fPIC)
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|