ClangFormat: apply to source, most of intern
[blender.git] / source / blender / CMakeLists.txt
index 7b21e87..7644204 100644 (file)
 # ***** END GPL LICENSE BLOCK *****
 
 set(SRC_DNA_INC
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_ID.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_action_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_anim_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_armature_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_boid_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_brush_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_cachefile_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_camera_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_cloth_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_collection_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_color_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_constraint_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_curve_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_customdata_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_defs.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_documentation.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_dynamicpaint_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_effect_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_fileglobal_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_freestyle_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_genfile.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_gpencil_modifier_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_gpencil_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_gpu_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_image_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_ipo_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_key_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_lattice_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_layer_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_light_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_lightprobe_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_linestyle_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_listBase.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_mask_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_material_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_mesh_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_meshdata_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_meta_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_modifier_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_movieclip_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_nla_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_node_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_enums.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_fluidsim_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_force_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_outliner_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_packedFile_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_particle_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_rigidbody_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_scene_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_screen_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sdna_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sequence_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_shader_fx_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_smoke_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sound_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_space_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_speaker_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_text_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_texture_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_tracking_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_userdef_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_vec_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_vfont_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_view2d_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_view3d_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_windowmanager_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_workspace_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_world_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_ID.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_action_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_anim_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_armature_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_boid_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_brush_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_cachefile_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_camera_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_cloth_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_collection_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_color_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_constraint_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_curve_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_customdata_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_defs.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_documentation.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_dynamicpaint_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_effect_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_fileglobal_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_freestyle_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_genfile.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_gpencil_modifier_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_gpencil_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_gpu_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_image_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_ipo_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_key_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_lattice_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_layer_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_light_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_lightprobe_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_linestyle_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_listBase.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_mask_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_material_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_mesh_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_meshdata_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_meta_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_modifier_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_movieclip_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_nla_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_node_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_enums.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_fluidsim_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_force_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_outliner_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_packedFile_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_particle_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_rigidbody_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_scene_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_screen_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sdna_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sequence_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_shader_fx_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_smoke_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sound_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_space_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_speaker_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_text_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_texture_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_tracking_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_userdef_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_vec_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_vfont_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_view2d_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_view3d_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_windowmanager_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_workspace_types.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_world_types.h
 )
 
 add_subdirectory(datatoc)
@@ -115,41 +115,41 @@ add_subdirectory(makesdna)
 add_subdirectory(makesrna)
 
 if(WITH_COMPOSITOR)
-       add_subdirectory(compositor)
+  add_subdirectory(compositor)
 endif()
 
 if(WITH_IMAGE_OPENEXR)
-       add_subdirectory(imbuf/intern/openexr)
+  add_subdirectory(imbuf/intern/openexr)
 endif()
 
 if(WITH_OPENIMAGEIO)
-       add_subdirectory(imbuf/intern/oiio)
+  add_subdirectory(imbuf/intern/oiio)
 endif()
 
 if(WITH_IMAGE_DDS)
-       add_subdirectory(imbuf/intern/dds)
+  add_subdirectory(imbuf/intern/dds)
 endif()
 
 if(WITH_IMAGE_CINEON)
-       add_subdirectory(imbuf/intern/cineon)
+  add_subdirectory(imbuf/intern/cineon)
 endif()
 
 if(WITH_CODEC_AVI)
-       add_subdirectory(avi)
+  add_subdirectory(avi)
 endif()
 
 if(WITH_PYTHON)
-       add_subdirectory(python)
+  add_subdirectory(python)
 endif()
 
 if(WITH_OPENCOLLADA)
-       add_subdirectory(collada)
+  add_subdirectory(collada)
 endif()
 
 if(WITH_FREESTYLE)
-       add_subdirectory(freestyle)
+  add_subdirectory(freestyle)
 endif()
 
 if(WITH_ALEMBIC)
-       add_subdirectory(alembic)
+  add_subdirectory(alembic)
 endif()