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