Browse Source

Reorganized and cleaned-up list appending in CMakeLists.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
b95749797d
  1. 28
      src/Magnum/CMakeLists.txt

28
src/Magnum/CMakeLists.txt

@ -149,19 +149,28 @@ endif()
# Desktop-only stuff # Desktop-only stuff
if(NOT TARGET_GLES) if(NOT TARGET_GLES)
set(Magnum_HEADERS ${Magnum_HEADERS} list(APPEND Magnum_SRCS
BufferTexture.h
CubeMapTextureArray.h
RectangleTexture.h)
set(Magnum_SRCS ${Magnum_SRCS}
BufferTexture.cpp BufferTexture.cpp
CubeMapTextureArray.cpp CubeMapTextureArray.cpp
RectangleTexture.cpp) RectangleTexture.cpp)
list(APPEND Magnum_HEADERS
BufferTexture.h
CubeMapTextureArray.h
RectangleTexture.h)
endif() endif()
# Non-ES2 stuff # Non-ES2 stuff
if(NOT TARGET_GLES2) if(NOT TARGET_GLES2)
set(Magnum_HEADERS ${Magnum_HEADERS} list(APPEND Magnum_SRCS
BufferImage.cpp
MultisampleTexture.cpp
TextureArray.cpp
TransformFeedback.cpp
Implementation/TransformFeedbackState.cpp)
list(APPEND Magnum_HEADERS
BufferImage.h BufferImage.h
MultisampleTexture.h MultisampleTexture.h
PrimitiveQuery.h PrimitiveQuery.h
@ -171,13 +180,6 @@ if(NOT TARGET_GLES2)
list(APPEND Magnum_PRIVATE_HEADES list(APPEND Magnum_PRIVATE_HEADES
Implementation/TransformFeedbackState.h) Implementation/TransformFeedbackState.h)
set(Magnum_SRCS ${Magnum_SRCS}
BufferImage.cpp
MultisampleTexture.cpp
TextureArray.cpp
TransformFeedback.cpp
Implementation/TransformFeedbackState.cpp)
endif() endif()
# Link in GL function pointer variables on platforms that support it # Link in GL function pointer variables on platforms that support it

Loading…
Cancel
Save