blob: d48624b7e7b7c0a6f6f982d1e90ab6a77b160eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
add_library(videoogl
OGLBoundingBox.cpp
OGLBoundingBox.h
OGLConfig.cpp
OGLConfig.h
OGLGfx.cpp
OGLGfx.h
OGLMain.cpp
OGLNativeVertexFormat.cpp
OGLPerfQuery.cpp
OGLPerfQuery.h
OGLPipeline.cpp
OGLPipeline.h
OGLShader.cpp
OGLShader.h
OGLStreamBuffer.cpp
OGLStreamBuffer.h
OGLTexture.cpp
OGLTexture.h
OGLVertexManager.cpp
OGLVertexManager.h
ProgramShaderCache.cpp
ProgramShaderCache.h
SamplerCache.cpp
SamplerCache.h
VideoBackend.h
)
target_link_libraries(videoogl PUBLIC common videocommon)
if(X11_FOUND)
target_link_libraries(videoogl PRIVATE PkgConfig::X11)
endif()
if(MSVC)
# Add precompiled header
target_link_libraries(videoogl PRIVATE use_pch)
endif()
|