mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
25 lines
457 B
CMake
25 lines
457 B
CMake
set(SRCS
|
|
GPUState.cpp
|
|
Math3D.cpp
|
|
GLES/DisplayListInterpreter.cpp
|
|
GLES/FragmentShaderGenerator.cpp
|
|
GLES/Framebuffer.cpp
|
|
GLES/ShaderManager.cpp
|
|
GLES/TextureCache.cpp
|
|
GLES/TransformPipeline.cpp
|
|
GLES/VertexDecoder.cpp
|
|
GLES/VertexShaderGenerator.cpp
|
|
Null/NullGpu.cpp
|
|
)
|
|
|
|
set(SRCS ${SRCS})
|
|
|
|
add_library(gpu STATIC ${SRCS})
|
|
target_link_libraries(gpu general gfx_es2)
|
|
target_link_libraries(gpu general lin)
|
|
|
|
if(UNIX)
|
|
add_definitions(-fPIC)
|
|
endif(UNIX)
|
|
|