mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
a279b391cc
Also added an option to explicitly disable building with MPG framedumps. To use it add -DENCODE_FRAMEDUMPS=OFF to cmake on the command line. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6429 8ced0084-cf51-0410-be5f-012b33b47a6e
41 lines
945 B
CMake
41 lines
945 B
CMake
set(SRCS Src/BPFunctions.cpp
|
|
Src/FramebufferManager.cpp
|
|
Src/GLUtil.cpp
|
|
Src/main.cpp
|
|
Src/NativeVertexFormat.cpp
|
|
Src/PixelShaderCache.cpp
|
|
Src/PostProcessing.cpp
|
|
Src/RasterFont.cpp
|
|
Src/Render.cpp
|
|
Src/TextureCache.cpp
|
|
Src/TextureConverter.cpp
|
|
Src/VertexShaderCache.cpp
|
|
Src/VertexManager.cpp)
|
|
|
|
set(LIBS videocommon
|
|
GLEW
|
|
SOIL
|
|
common
|
|
Cg
|
|
CgGL)
|
|
|
|
if(wxWidgets_FOUND)
|
|
set(SRCS ${SRCS}
|
|
Src/Debugger/Debugger.cpp)
|
|
set(LIBS videouicommon ${LIBS})
|
|
endif(wxWidgets_FOUND)
|
|
|
|
if((${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND NOT wxWidgets_FOUND)
|
|
set(SRCS ${SRCS} Src/cocoaGL.m)
|
|
elseif(WIN32)
|
|
set(SRCS ${SRCS} Src/OS/Win32.cpp)
|
|
elseif(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
|
set(LIBS ${LIBS} clrun)
|
|
endif()
|
|
|
|
add_library(Plugin_VideoOGL SHARED ${SRCS})
|
|
target_link_libraries(Plugin_VideoOGL ${LIBS})
|
|
install(TARGETS Plugin_VideoOGL
|
|
LIBRARY DESTINATION ${plugindir}
|
|
RUNTIME DESTINATION ${plugindir})
|