ppsspp/GPU/CMakeLists.txt

29 lines
544 B
CMake
Raw Normal View History

2012-11-01 15:19:01 +00:00
set(SRCS
GPUCommon.cpp
2012-11-01 15:19:01 +00:00
GPUState.cpp
Math3D.cpp
GLES/DisplayListInterpreter.cpp
GLES/FragmentShaderGenerator.cpp
GLES/Framebuffer.cpp
GLES/IndexGenerator.cpp
2012-11-01 15:19:01 +00:00
GLES/ShaderManager.cpp
GLES/StateMapping.cpp
2012-11-01 15:19:01 +00:00
GLES/TextureCache.cpp
2013-05-02 06:31:18 +00:00
GLES/TextureScaler.cpp
2012-11-01 15:19:01 +00:00
GLES/TransformPipeline.cpp
GLES/VertexDecoder.cpp
GLES/VertexShaderGenerator.cpp
2012-11-06 16:05:27 +00:00
Null/NullGpu.cpp
2012-11-01 15:19:01 +00:00
)
set(SRCS ${SRCS})
add_library(gpu STATIC ${SRCS})
target_link_libraries(gpu general gfx_es2)
target_link_libraries(gpu general lin)
2012-11-01 15:19:01 +00:00
if(UNIX)
add_definitions(-fPIC)
endif(UNIX)