2010-11-01 09:47:02 -06:00
|
|
|
set(SRCS Src/BPMemory.cpp
|
2010-11-17 19:21:26 -07:00
|
|
|
Src/BPFunctions.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
Src/BPStructs.cpp
|
|
|
|
Src/CommandProcessor.cpp
|
|
|
|
Src/CPMemory.cpp
|
2010-12-05 07:15:36 -07:00
|
|
|
Src/Debugger.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
Src/DLCache.cpp
|
|
|
|
Src/Fifo.cpp
|
2010-11-14 16:31:53 -07:00
|
|
|
Src/FramebufferManagerBase.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
Src/HiresTextures.cpp
|
|
|
|
Src/ImageWrite.cpp
|
|
|
|
Src/IndexGenerator.cpp
|
2010-11-17 19:21:26 -07:00
|
|
|
Src/MainBase.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
Src/memcpy_amd.cpp
|
|
|
|
Src/OnScreenDisplay.cpp
|
|
|
|
Src/OpcodeDecoding.cpp
|
|
|
|
Src/PixelEngine.cpp
|
|
|
|
Src/PixelShaderGen.cpp
|
|
|
|
Src/PixelShaderManager.cpp
|
|
|
|
Src/Profiler.cpp
|
2010-11-17 19:21:26 -07:00
|
|
|
Src/RenderBase.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
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 13:02:01 -07:00
|
|
|
Src/XFStructs.cpp
|
|
|
|
Src/OpenCL/OCLTextureDecoder.cpp)
|
2010-11-01 09:47:02 -06:00
|
|
|
|
2010-11-15 21:34:52 -07:00
|
|
|
if(ENCODE_FRAMEDUMPS OR WIN32)
|
2010-11-14 14:14:26 -07:00
|
|
|
set(SRCS ${SRCS} Src/AVIDump.cpp)
|
|
|
|
endif()
|
|
|
|
|
2010-11-01 09:47:02 -06:00
|
|
|
add_library(videocommon STATIC ${SRCS})
|
2010-11-16 18:03:39 -07:00
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
2010-11-15 21:34:52 -07:00
|
|
|
if(ENCODE_FRAMEDUMPS)
|
2010-12-06 06:06:54 -07:00
|
|
|
target_link_libraries(videocommon avcodec avformat swscale avutil)
|
2010-11-14 14:14:26 -07:00
|
|
|
add_definitions(-D__STDC_CONSTANT_MACROS)
|
|
|
|
endif()
|
2010-11-04 20:23:24 -06:00
|
|
|
add_definitions(-fPIC)
|
2010-11-16 18:03:39 -07:00
|
|
|
endif()
|