dolphin/Source/Core/VideoCommon/CMakeLists.txt

67 lines
1.4 KiB
CMake
Raw Normal View History

set(SRCS BoundingBox.cpp
BPFunctions.cpp
2013-12-07 13:14:29 -07:00
BPMemory.cpp
BPStructs.cpp
CPMemory.cpp
CommandProcessor.cpp
Debugger.cpp
DriverDetails.cpp
Fifo.cpp
FPSCounter.cpp
FramebufferManagerBase.cpp
2014-10-30 08:13:31 -06:00
GeometryShaderGen.cpp
GeometryShaderManager.cpp
2013-12-07 13:14:29 -07:00
HiresTextures.cpp
ImageWrite.cpp
IndexGenerator.cpp
MainBase.cpp
OnScreenDisplay.cpp
OpcodeDecoding.cpp
PerfQueryBase.cpp
PixelEngine.cpp
PixelShaderGen.cpp
PixelShaderManager.cpp
PostProcessing.cpp
2013-12-07 13:14:29 -07:00
RenderBase.cpp
Statistics.cpp
TextureCacheBase.cpp
TextureConversionShader.cpp
TextureDecoder_Common.cpp
2013-12-07 13:14:29 -07:00
VertexLoader.cpp
VertexLoaderBase.cpp
2013-12-07 13:14:29 -07:00
VertexLoaderManager.cpp
VertexLoader_Color.cpp
VertexLoader_Normal.cpp
VertexLoader_Position.cpp
VertexLoader_TextCoord.cpp
VertexManagerBase.cpp
VertexShaderGen.cpp
VertexShaderManager.cpp
VideoBackendBase.cpp
VideoConfig.cpp
VideoState.cpp
XFMemory.cpp
2014-10-30 08:13:31 -06:00
XFStructs.cpp)
set(LIBS core png)
2013-02-26 12:49:00 -07:00
if(_M_X86)
2015-01-14 17:46:23 -07:00
set(SRCS ${SRCS} TextureDecoder_x64.cpp VertexLoaderX64.cpp)
2013-02-26 12:49:00 -07:00
else()
set(SRCS ${SRCS} TextureDecoder_Generic.cpp)
2013-02-26 12:49:00 -07:00
endif()
if(NOT ${CL} STREQUAL CL-NOTFOUND)
list(APPEND LIBS ${CL})
endif()
if(LIBAV_FOUND OR WIN32)
2013-12-07 13:14:29 -07:00
set(SRCS ${SRCS} AVIDump.cpp)
endif()
add_dolphin_library(videocommon "${SRCS}" "${LIBS}")
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
if(LIBAV_FOUND)
target_link_libraries(videocommon ${LIBS} ${LIBAV_LIBRARIES})
endif()
endif()