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/makesdna/intern/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/makesdna/intern/CMakeLists.txt')
-rw-r--r--source/blender/makesdna/intern/CMakeLists.txt92
1 files changed, 46 insertions, 46 deletions
diff --git a/source/blender/makesdna/intern/CMakeLists.txt b/source/blender/makesdna/intern/CMakeLists.txt
index 94caab26e29..a5a98386347 100644
--- a/source/blender/makesdna/intern/CMakeLists.txt
+++ b/source/blender/makesdna/intern/CMakeLists.txt
@@ -23,32 +23,32 @@
add_definitions(-DWITH_DNA_GHASH)
blender_include_dirs(
- ../../../../intern/guardedalloc
- ../../../../intern/atomic
- ../../blenlib
- ..
+ ../../../../intern/guardedalloc
+ ../../../../intern/atomic
+ ../../blenlib
+ ..
)
# -----------------------------------------------------------------------------
# Build makesdna executable
set(SRC
- dna_utils.c
- makesdna.c
- ../../blenlib/intern/BLI_ghash.c
- ../../blenlib/intern/BLI_ghash_utils.c
- ../../blenlib/intern/BLI_memarena.c
- ../../blenlib/intern/BLI_mempool.c
- ../../blenlib/intern/hash_mm2a.c # needed by 'BLI_ghash_utils.c', not used directly.
- ../../../../intern/guardedalloc/intern/mallocn.c
- ../../../../intern/guardedalloc/intern/mallocn_guarded_impl.c
- ../../../../intern/guardedalloc/intern/mallocn_lockfree_impl.c
+ dna_utils.c
+ makesdna.c
+ ../../blenlib/intern/BLI_ghash.c
+ ../../blenlib/intern/BLI_ghash_utils.c
+ ../../blenlib/intern/BLI_memarena.c
+ ../../blenlib/intern/BLI_mempool.c
+ ../../blenlib/intern/hash_mm2a.c # needed by 'BLI_ghash_utils.c', not used directly.
+ ../../../../intern/guardedalloc/intern/mallocn.c
+ ../../../../intern/guardedalloc/intern/mallocn_guarded_impl.c
+ ../../../../intern/guardedalloc/intern/mallocn_lockfree_impl.c
)
if(WIN32 AND NOT UNIX)
- list(APPEND SRC
- ../../../../intern/guardedalloc/intern/mmap_win.c
- )
+ list(APPEND SRC
+ ../../../../intern/guardedalloc/intern/mmap_win.c
+ )
endif()
# SRC_DNA_INC is defined in the parent dir
@@ -60,17 +60,17 @@ add_executable(makesdna ${SRC} ${SRC_DNA_INC})
# Output dna.c
add_custom_command(
- OUTPUT
- ${CMAKE_CURRENT_BINARY_DIR}/dna.c
- ${CMAKE_CURRENT_BINARY_DIR}/dna_type_offsets.h
- ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
- COMMAND
- "$<TARGET_FILE:makesdna>"
- ${CMAKE_CURRENT_BINARY_DIR}/dna.c
- ${CMAKE_CURRENT_BINARY_DIR}/dna_type_offsets.h
- ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
- ${CMAKE_SOURCE_DIR}/source/blender/makesdna/
- DEPENDS makesdna
+ OUTPUT
+ ${CMAKE_CURRENT_BINARY_DIR}/dna.c
+ ${CMAKE_CURRENT_BINARY_DIR}/dna_type_offsets.h
+ ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
+ COMMAND
+ "$<TARGET_FILE:makesdna>"
+ ${CMAKE_CURRENT_BINARY_DIR}/dna.c
+ ${CMAKE_CURRENT_BINARY_DIR}/dna_type_offsets.h
+ ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
+ ${CMAKE_SOURCE_DIR}/source/blender/makesdna/
+ DEPENDS makesdna
)
@@ -85,23 +85,23 @@ set(INC_SYS
)
set(SRC
- dna_genfile.c
- dna_utils.c
- ${CMAKE_CURRENT_BINARY_DIR}/dna.c
- ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
- ${SRC_DNA_INC}
+ dna_genfile.c
+ dna_utils.c
+ ${CMAKE_CURRENT_BINARY_DIR}/dna.c
+ ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
+ ${SRC_DNA_INC}
- dna_utils.h
+ dna_utils.h
)
set(LIB
)
set_source_files_properties(
- ${CMAKE_CURRENT_BINARY_DIR}/dna.c
- ${CMAKE_CURRENT_BINARY_DIR}/dna_type_offsets.h
- ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
- PROPERTIES GENERATED TRUE
+ ${CMAKE_CURRENT_BINARY_DIR}/dna.c
+ ${CMAKE_CURRENT_BINARY_DIR}/dna_type_offsets.h
+ ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
+ PROPERTIES GENERATED TRUE
)
blender_add_lib(bf_dna "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
@@ -118,14 +118,14 @@ set(INC_SYS
)
set(SRC
- ../../blenlib/intern/BLI_ghash.c
- ../../blenlib/intern/BLI_ghash_utils.c
- ../../blenlib/intern/BLI_linklist.c
- ../../blenlib/intern/BLI_memarena.c
- ../../blenlib/intern/BLI_mempool.c
- ../../blenlib/intern/endian_switch.c
- ../../blenlib/intern/hash_mm2a.c
- ../../blenlib/intern/listbase.c
+ ../../blenlib/intern/BLI_ghash.c
+ ../../blenlib/intern/BLI_ghash_utils.c
+ ../../blenlib/intern/BLI_linklist.c
+ ../../blenlib/intern/BLI_memarena.c
+ ../../blenlib/intern/BLI_mempool.c
+ ../../blenlib/intern/endian_switch.c
+ ../../blenlib/intern/hash_mm2a.c
+ ../../blenlib/intern/listbase.c
)
set(LIB