mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 23:41:19 +01:00
39 lines
817 B
CMake
39 lines
817 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
|
||
|
Src/XFB.cpp)
|
||
|
|
||
|
set(LIBS videocommon
|
||
|
GLEW
|
||
|
SOIL
|
||
|
common
|
||
|
Cg
|
||
|
CgGL)
|
||
|
|
||
|
if(wxWidgets_FOUND)
|
||
|
set(SRCS ${SRCS}
|
||
|
Src/GUI/ConfigDlg.cpp
|
||
|
Src/Debugger/Debugger.cpp)
|
||
|
endif(wxWidgets_FOUND)
|
||
|
|
||
|
if(APPLE AND NOT wxWidgets_FOUND)
|
||
|
set(SRCS ${SRCS} cocoaGL.m)
|
||
|
elif(WIN32)
|
||
|
set(SRCS ${SRCS} OS/Win32.cpp)
|
||
|
#elif(NOT APPLE AND OPENCL_FOUND) # TODO: Add OpenCL support
|
||
|
# set(LIBS ${LIBS} OpenCL)
|
||
|
endif()
|
||
|
|
||
|
add_library(Plugin_VideoOGL SHARED ${SRCS})
|
||
|
target_link_libraries(Plugin_VideoOGL ${LIBS})
|