diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /intern/guardedalloc/CMakeLists.txt | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (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 'intern/guardedalloc/CMakeLists.txt')
-rw-r--r-- | intern/guardedalloc/CMakeLists.txt | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/intern/guardedalloc/CMakeLists.txt b/intern/guardedalloc/CMakeLists.txt index 72c3395156e..dab24af7f8d 100644 --- a/intern/guardedalloc/CMakeLists.txt +++ b/intern/guardedalloc/CMakeLists.txt @@ -19,8 +19,8 @@ # ***** END GPL LICENSE BLOCK ***** set(INC - . - ../atomic + . + ../atomic ) set(INC_SYS @@ -28,40 +28,40 @@ set(INC_SYS ) set(SRC - ./intern/mallocn.c - ./intern/mallocn_guarded_impl.c - ./intern/mallocn_lockfree_impl.c + ./intern/mallocn.c + ./intern/mallocn_guarded_impl.c + ./intern/mallocn_lockfree_impl.c - MEM_guardedalloc.h - ./intern/mallocn_inline.h - ./intern/mallocn_intern.h + MEM_guardedalloc.h + ./intern/mallocn_inline.h + ./intern/mallocn_intern.h - # only so the header is known by cmake - ../atomic/atomic_ops.h + # only so the header is known by cmake + ../atomic/atomic_ops.h ) set(LIB ) if(WIN32 AND NOT UNIX) - list(APPEND SRC - intern/mmap_win.c + list(APPEND SRC + intern/mmap_win.c - mmap_win.h - ) + mmap_win.h + ) endif() # Jemalloc 5.0.0+ needs extra configuration. if(WITH_MEM_JEMALLOC AND NOT ("${JEMALLOC_VERSION}" VERSION_LESS "5.0.0")) - add_definitions(-DWITH_JEMALLOC_CONF) + add_definitions(-DWITH_JEMALLOC_CONF) endif() blender_add_lib(bf_intern_guardedalloc "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") # Override C++ alloc, optional. if(WITH_CXX_GUARDEDALLOC) - set(SRC - cpp/mallocn.cpp - ) - blender_add_lib(bf_intern_guardedalloc_cpp "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") + set(SRC + cpp/mallocn.cpp + ) + blender_add_lib(bf_intern_guardedalloc_cpp "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") endif() |