Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/imbuf/CMakeLists.txt
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/imbuf/CMakeLists.txt')
-rw-r--r--source/blender/imbuf/CMakeLists.txt252
1 files changed, 126 insertions, 126 deletions
diff --git a/source/blender/imbuf/CMakeLists.txt b/source/blender/imbuf/CMakeLists.txt
index a52c72f8ecd..b8d43b8e9c2 100644
--- a/source/blender/imbuf/CMakeLists.txt
+++ b/source/blender/imbuf/CMakeLists.txt
@@ -19,180 +19,180 @@
# ***** END GPL LICENSE BLOCK *****
set(INC
- .
- ../blenkernel
- ../blenlib
- ../blenloader
- ../makesdna
- ../makesrna
- ../../../intern/guardedalloc
- ../../../intern/memutil
+ .
+ ../blenkernel
+ ../blenlib
+ ../blenloader
+ ../makesdna
+ ../makesrna
+ ../../../intern/guardedalloc
+ ../../../intern/memutil
)
set(INC_SYS
- ${JPEG_INCLUDE_DIR}
- ${PNG_INCLUDE_DIRS}
- ${ZLIB_INCLUDE_DIRS}
+ ${JPEG_INCLUDE_DIR}
+ ${PNG_INCLUDE_DIRS}
+ ${ZLIB_INCLUDE_DIRS}
)
set(SRC
- intern/allocimbuf.c
- intern/anim_movie.c
- intern/bmp.c
- intern/cache.c
- intern/colormanagement.c
- intern/colormanagement_inline.c
- intern/divers.c
- intern/filetype.c
- intern/filter.c
- intern/imageprocess.c
- intern/indexer.c
- intern/iris.c
- intern/jpeg.c
- intern/metadata.c
- intern/module.c
- intern/moviecache.c
- intern/png.c
- intern/readimage.c
- intern/rectop.c
- intern/rotate.c
- intern/scaling.c
- intern/stereoimbuf.c
- intern/targa.c
- intern/thumbs.c
- intern/thumbs_blend.c
- intern/thumbs_font.c
- intern/util.c
- intern/writeimage.c
-
- IMB_colormanagement.h
- IMB_imbuf.h
- IMB_imbuf_types.h
- IMB_metadata.h
- IMB_moviecache.h
- IMB_thumbs.h
- intern/IMB_allocimbuf.h
- intern/IMB_anim.h
- intern/IMB_colormanagement_intern.h
- intern/IMB_filetype.h
- intern/IMB_filter.h
- intern/IMB_indexer.h
- intern/imbuf.h
-
- # orphan include
- ../../../intern/ffmpeg/ffmpeg_compat.h
+ intern/allocimbuf.c
+ intern/anim_movie.c
+ intern/bmp.c
+ intern/cache.c
+ intern/colormanagement.c
+ intern/colormanagement_inline.c
+ intern/divers.c
+ intern/filetype.c
+ intern/filter.c
+ intern/imageprocess.c
+ intern/indexer.c
+ intern/iris.c
+ intern/jpeg.c
+ intern/metadata.c
+ intern/module.c
+ intern/moviecache.c
+ intern/png.c
+ intern/readimage.c
+ intern/rectop.c
+ intern/rotate.c
+ intern/scaling.c
+ intern/stereoimbuf.c
+ intern/targa.c
+ intern/thumbs.c
+ intern/thumbs_blend.c
+ intern/thumbs_font.c
+ intern/util.c
+ intern/writeimage.c
+
+ IMB_colormanagement.h
+ IMB_imbuf.h
+ IMB_imbuf_types.h
+ IMB_metadata.h
+ IMB_moviecache.h
+ IMB_thumbs.h
+ intern/IMB_allocimbuf.h
+ intern/IMB_anim.h
+ intern/IMB_colormanagement_intern.h
+ intern/IMB_filetype.h
+ intern/IMB_filter.h
+ intern/IMB_indexer.h
+ intern/imbuf.h
+
+ # orphan include
+ ../../../intern/ffmpeg/ffmpeg_compat.h
)
set(LIB
- bf_blenkernel
- bf_blenlib
- bf_blenloader
- bf_intern_guardedalloc
- bf_intern_memutil
- bf_intern_opencolorio
+ bf_blenkernel
+ bf_blenlib
+ bf_blenloader
+ bf_intern_guardedalloc
+ bf_intern_memutil
+ bf_intern_opencolorio
)
if(WITH_IMAGE_OPENEXR)
- list(APPEND LIB
- bf_imbuf_openexr
- )
- add_definitions(-DWITH_OPENEXR)
+ list(APPEND LIB
+ bf_imbuf_openexr
+ )
+ add_definitions(-DWITH_OPENEXR)
else()
- list(APPEND SRC
- intern/openexr/openexr_stub.cpp
- )
+ list(APPEND SRC
+ intern/openexr/openexr_stub.cpp
+ )
endif()
if(WITH_IMAGE_TIFF)
- list(APPEND INC_SYS
- ${TIFF_INCLUDE_DIR}
- )
- list(APPEND SRC
- intern/tiff.c
- )
- add_definitions(-DWITH_TIFF)
+ list(APPEND INC_SYS
+ ${TIFF_INCLUDE_DIR}
+ )
+ list(APPEND SRC
+ intern/tiff.c
+ )
+ add_definitions(-DWITH_TIFF)
endif()
if(WITH_OPENIMAGEIO)
- list(APPEND LIB
- bf_imbuf_openimageio
- )
- add_definitions(-DWITH_OPENIMAGEIO)
+ list(APPEND LIB
+ bf_imbuf_openimageio
+ )
+ add_definitions(-DWITH_OPENIMAGEIO)
endif()
if(WITH_IMAGE_OPENJPEG)
- list(APPEND INC_SYS
- ${OPENJPEG_INCLUDE_DIRS}
- )
- list(APPEND SRC
- intern/jp2.c
- )
-
- add_definitions(-DWITH_OPENJPEG ${OPENJPEG_DEFINES})
+ list(APPEND INC_SYS
+ ${OPENJPEG_INCLUDE_DIRS}
+ )
+ list(APPEND SRC
+ intern/jp2.c
+ )
+
+ add_definitions(-DWITH_OPENJPEG ${OPENJPEG_DEFINES})
endif()
if(WITH_CODEC_AVI)
- list(APPEND INC
- ../avi
- )
- list(APPEND LIB
- bf_avi
- )
- add_definitions(-DWITH_AVI)
+ list(APPEND INC
+ ../avi
+ )
+ list(APPEND LIB
+ bf_avi
+ )
+ add_definitions(-DWITH_AVI)
endif()
if(WITH_CODEC_FFMPEG)
- list(APPEND INC
- ../../../intern/ffmpeg
- )
- list(APPEND INC_SYS
- ${FFMPEG_INCLUDE_DIRS}
- )
- add_definitions(-DWITH_FFMPEG)
-
- remove_strict_c_flags_file(
- intern/anim_movie.c
- intern/indexer.c
- intern/util.c
- )
+ list(APPEND INC
+ ../../../intern/ffmpeg
+ )
+ list(APPEND INC_SYS
+ ${FFMPEG_INCLUDE_DIRS}
+ )
+ add_definitions(-DWITH_FFMPEG)
+
+ remove_strict_c_flags_file(
+ intern/anim_movie.c
+ intern/indexer.c
+ intern/util.c
+ )
endif()
if(WITH_IMAGE_DDS)
- list(APPEND LIB
- bf_imbuf_dds
- )
- add_definitions(-DWITH_DDS)
+ list(APPEND LIB
+ bf_imbuf_dds
+ )
+ add_definitions(-DWITH_DDS)
endif()
if(WITH_IMAGE_CINEON)
- list(APPEND LIB
- bf_imbuf_cineon
- )
- add_definitions(-DWITH_CINEON)
+ list(APPEND LIB
+ bf_imbuf_cineon
+ )
+ add_definitions(-DWITH_CINEON)
endif()
if(WITH_IMAGE_HDR)
- list(APPEND SRC
- intern/radiance_hdr.c
- )
- add_definitions(-DWITH_HDR)
+ list(APPEND SRC
+ intern/radiance_hdr.c
+ )
+ add_definitions(-DWITH_HDR)
endif()
list(APPEND INC
- ../../../intern/opencolorio
+ ../../../intern/opencolorio
)
if(WIN32)
- list(APPEND INC
- ../../../intern/utfconv
- )
+ list(APPEND INC
+ ../../../intern/utfconv
+ )
endif()
# no need to compile object files for inline headers.
set_source_files_properties(
- intern/colormanagement_inline.c
- PROPERTIES HEADER_FILE_ONLY TRUE
+ intern/colormanagement_inline.c
+ PROPERTIES HEADER_FILE_ONLY TRUE
)
blender_add_lib(bf_imbuf "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")