Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Mon, 21 Oct 2019 04:05:56 +0000 (15:05 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 21 Oct 2019 04:05:56 +0000 (15:05 +1100)
build_files/build_environment/cmake/theora.cmake
extern/quadriflow/CMakeLists.txt
intern/ghost/test/CMakeLists.txt
intern/quadriflow/CMakeLists.txt
source/creator/CMakeLists.txt

index 5d41fab574009da80c43f9aa54b16c1dd8448e9a..b1352c40e376513a313ab746a2ce171d0eea7765 100644 (file)
@@ -16,7 +16,7 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-if (UNIX)
+if(UNIX)
   set(THEORA_CONFIGURE_ENV ${CONFIGURE_ENV} && export HAVE_PDFLATEX=no)
 else()
   set(THEORA_CONFIGURE_ENV ${CONFIGURE_ENV})
index 2e13bf17b17323a1b52049583986b5270f0b03cf..0f10b8fe707ac092f6bde3cf1b11fe60d5b74b43 100644 (file)
@@ -31,7 +31,7 @@ endif()
 set(CMAKE_CXX_STANDARD 14)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
-if (WIN32)
+if(WIN32)
     add_definitions(-D_USE_MATH_DEFINES)
 endif()
 
@@ -46,7 +46,7 @@ set(LEMON_GEN_DIR ${CMAKE_BINARY_DIR}/extern/quadriflow/${LEMON_3RD_PATH})
 configure_file(
   ${LEMON_SRC}/config.h.in
   ${LEMON_GEN_DIR}/lemon/config.h
-  )
+)
 set(LEMON_SOURCES
   ${LEMON_SRC}/arg_parser.cc
   ${LEMON_SRC}/base.cc
@@ -55,7 +55,7 @@ set(LEMON_SOURCES
   ${LEMON_SRC}/lp_skeleton.cc
   ${LEMON_SRC}/random.cc
   ${LEMON_SRC}/bits/windows.cc
-  )
+)
 
 set(INC
   src
@@ -71,37 +71,37 @@ set(INC_SYS
 )
 
 set(SRC
-    src/adjacent-matrix.cpp
-    src/adjacent-matrix.hpp
-    src/compare-key.hpp
-    src/config.hpp
-    src/dedge.cpp
-    src/dedge.hpp
-    src/disajoint-tree.hpp
-    src/dset.hpp
-    src/field-math.hpp
-    src/flow.hpp
-    src/hierarchy.cpp
-    src/hierarchy.hpp
-    src/loader.cpp
-    src/loader.hpp
-    src/localsat.cpp
-    src/localsat.hpp
-    src/merge-vertex.cpp
-    src/merge-vertex.hpp
-    src/optimizer.cpp
-    src/optimizer.hpp
-    src/parametrizer.cpp
-    src/parametrizer-flip.cpp
-    src/parametrizer-int.cpp
-    src/parametrizer-mesh.cpp
-    src/parametrizer-scale.cpp
-    src/parametrizer-sing.cpp
-    src/parametrizer.hpp
-    src/serialize.hpp
-    src/subdivide.cpp
-    src/subdivide.hpp
-    ${LEMON_SOURCES}
+  src/adjacent-matrix.cpp
+  src/adjacent-matrix.hpp
+  src/compare-key.hpp
+  src/config.hpp
+  src/dedge.cpp
+  src/dedge.hpp
+  src/disajoint-tree.hpp
+  src/dset.hpp
+  src/field-math.hpp
+  src/flow.hpp
+  src/hierarchy.cpp
+  src/hierarchy.hpp
+  src/loader.cpp
+  src/loader.hpp
+  src/localsat.cpp
+  src/localsat.hpp
+  src/merge-vertex.cpp
+  src/merge-vertex.hpp
+  src/optimizer.cpp
+  src/optimizer.hpp
+  src/parametrizer.cpp
+  src/parametrizer-flip.cpp
+  src/parametrizer-int.cpp
+  src/parametrizer-mesh.cpp
+  src/parametrizer-scale.cpp
+  src/parametrizer-sing.cpp
+  src/parametrizer.hpp
+  src/serialize.hpp
+  src/subdivide.cpp
+  src/subdivide.hpp
+  ${LEMON_SOURCES}
 )
 
 set(LIB
index a5a41209603197464a7eeed43c703d11794df48e..f97397715bf87b192ad0d55b0f17f30a02a073dd 100644 (file)
@@ -126,27 +126,27 @@ add_library(glewmx_lib ${SRC_NEW})
 
 # grr, blenfont needs BLI
 include_directories(
-    "../../../source/blender/blenlib"
-    )
+  "../../../source/blender/blenlib"
+)
 add_library(bli_lib
-    "../../../source/blender/blenlib/intern/fileops.c"
-    "../../../source/blender/blenlib/intern/gsqueue.c"
-    "../../../source/blender/blenlib/intern/rct.c"
-    "../../../source/blender/blenlib/intern/string.c"
-    "../../../source/blender/blenlib/intern/string_utf8.c"
-    "../../../source/blender/blenlib/intern/listbase.c"
-    "../../../source/blender/blenlib/intern/math_color.c"
-    "../../../source/blender/blenlib/intern/storage.c"
-    "../../../source/blender/blenlib/intern/task.c"
-    "../../../source/blender/blenlib/intern/threads.c"
-    "../../../source/blender/blenlib/intern/time.c"
-    "../../../source/blender/blenlib/intern/path_util.c"
-    "../../../source/blender/blenlib/intern/BLI_dynstr.c"
-    "../../../source/blender/blenlib/intern/BLI_linklist.c"
-    "../../../source/blender/blenlib/intern/BLI_memarena.c"
-    "../../../source/blender/blenlib/intern/BLI_mempool.c"
-    "../../../source/blender/blenlib/intern/system.c"
-    )
+  "../../../source/blender/blenlib/intern/fileops.c"
+  "../../../source/blender/blenlib/intern/gsqueue.c"
+  "../../../source/blender/blenlib/intern/rct.c"
+  "../../../source/blender/blenlib/intern/string.c"
+  "../../../source/blender/blenlib/intern/string_utf8.c"
+  "../../../source/blender/blenlib/intern/listbase.c"
+  "../../../source/blender/blenlib/intern/math_color.c"
+  "../../../source/blender/blenlib/intern/storage.c"
+  "../../../source/blender/blenlib/intern/task.c"
+  "../../../source/blender/blenlib/intern/threads.c"
+  "../../../source/blender/blenlib/intern/time.c"
+  "../../../source/blender/blenlib/intern/path_util.c"
+  "../../../source/blender/blenlib/intern/BLI_dynstr.c"
+  "../../../source/blender/blenlib/intern/BLI_linklist.c"
+  "../../../source/blender/blenlib/intern/BLI_memarena.c"
+  "../../../source/blender/blenlib/intern/BLI_mempool.c"
+  "../../../source/blender/blenlib/intern/system.c"
+)
 
 set(PLATFORM_CGLAGS)
 
index 615d5a34ce6729e7222b57d8e1814ab47e0d8912..35cfe22a018b6a4a30230e1afbf61878500c6dc5 100644 (file)
@@ -38,7 +38,7 @@ set(LIB
   extern_quadriflow
 )
 
-if (WIN32)
+if(WIN32)
     add_definitions(-D_USE_MATH_DEFINES)
 endif()
 
index cb76aa94df3af3d2523237ba0f64a4d67281ae99..50b4f3edfa998d979a281676dcee934956c30945 100644 (file)
@@ -854,7 +854,7 @@ elseif(WIN32)
     )
   endif()
 elseif(APPLE)
-  if (NOT WITH_PYTHON_MODULE)
+  if(NOT WITH_PYTHON_MODULE)
     # Uppercase name for app bundle
     set_target_properties(blender PROPERTIES OUTPUT_NAME Blender)
   endif()
@@ -1042,7 +1042,7 @@ setup_liblinks(blender)
 # vcpkg substitutes our libs with theirs, which will cause issues when you
 # you run these builds on other systems due to missing dlls. So we opt out
 # the use of vcpkg
-if (WIN32)
+if(WIN32)
   set_target_properties(blender PROPERTIES VS_GLOBAL_VcpkgEnabled "false")
 endif()