This adds initial support for showing logged data in closures. This is more tricky than the other zone types, because the zone content is evaluated elsewhere. The main new thing here is a function that attempts to find where a given closure is evaluated statically. Finding this place statically is also important because we generally decide which compute contexts we want to log before evaluation starts. That's because we don't want to log everything (which is expensive), but just the places that the user is currently looking at. This also changed a bunch of CMakeLists.txt files so that these modules can include NOD_* stuff, which is generally fine everywhere in editors code. Pull Request: https://projects.blender.org/blender/blender/pulls/137403
131 lines
3.3 KiB
CMake
131 lines
3.3 KiB
CMake
# SPDX-FileCopyrightText: 2023 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(INC
|
|
../include
|
|
../../ikplugin
|
|
../../makesrna
|
|
# RNA_prototypes.hh
|
|
${CMAKE_BINARY_DIR}/source/blender/makesrna
|
|
)
|
|
set(INC_SYS
|
|
)
|
|
|
|
set(SRC
|
|
transform.cc
|
|
transform_constraints.cc
|
|
transform_convert.cc
|
|
transform_convert_action.cc
|
|
transform_convert_armature.cc
|
|
transform_convert_cursor.cc
|
|
transform_convert_curve.cc
|
|
transform_convert_curves.cc
|
|
transform_convert_graph.cc
|
|
transform_convert_grease_pencil.cc
|
|
transform_convert_lattice.cc
|
|
transform_convert_mask.cc
|
|
transform_convert_mball.cc
|
|
transform_convert_mesh.cc
|
|
transform_convert_mesh_edge.cc
|
|
transform_convert_mesh_skin.cc
|
|
transform_convert_mesh_uv.cc
|
|
transform_convert_mesh_vert_cdata.cc
|
|
transform_convert_nla.cc
|
|
transform_convert_node.cc
|
|
transform_convert_object.cc
|
|
transform_convert_object_texspace.cc
|
|
transform_convert_paintcurve.cc
|
|
transform_convert_particle.cc
|
|
transform_convert_pointcloud.cc
|
|
transform_convert_sculpt.cc
|
|
transform_convert_sequencer.cc
|
|
transform_convert_sequencer_image.cc
|
|
transform_convert_sequencer_retiming.cc
|
|
transform_convert_tracking.cc
|
|
transform_convert_tracking_curves.cc
|
|
transform_draw_cursors.cc
|
|
transform_generics.cc
|
|
transform_gizmo_2d.cc
|
|
transform_gizmo_3d.cc
|
|
transform_gizmo_3d_cage.cc
|
|
transform_gizmo_3d_shear.cc
|
|
transform_gizmo_extrude_3d.cc
|
|
transform_input.cc
|
|
transform_mode.cc
|
|
transform_mode_align.cc
|
|
transform_mode_baketime.cc
|
|
transform_mode_bbone_resize.cc
|
|
transform_mode_bend.cc
|
|
transform_mode_boneenvelope.cc
|
|
transform_mode_boneroll.cc
|
|
transform_mode_curveshrinkfatten.cc
|
|
transform_mode_customdata.cc
|
|
transform_mode_edge_rotate_normal.cc
|
|
transform_mode_edge_seq_slide.cc
|
|
transform_mode_edge_slide.cc
|
|
transform_mode_gpopacity.cc
|
|
transform_mode_maskshrinkfatten.cc
|
|
transform_mode_mirror.cc
|
|
transform_mode_push_pull.cc
|
|
transform_mode_resize.cc
|
|
transform_mode_rotate.cc
|
|
transform_mode_shear.cc
|
|
transform_mode_shrink_fatten.cc
|
|
transform_mode_skin_resize.cc
|
|
transform_mode_snapsource.cc
|
|
transform_mode_tilt.cc
|
|
transform_mode_timescale.cc
|
|
transform_mode_timeslide.cc
|
|
transform_mode_timetranslate.cc
|
|
transform_mode_tosphere.cc
|
|
transform_mode_trackball.cc
|
|
transform_mode_translate.cc
|
|
transform_mode_vert_slide.cc
|
|
transform_ops.cc
|
|
transform_orientations.cc
|
|
transform_snap.cc
|
|
transform_snap_animation.cc
|
|
transform_snap_object.cc
|
|
transform_snap_object_armature.cc
|
|
transform_snap_object_camera.cc
|
|
transform_snap_object_curve.cc
|
|
transform_snap_object_editmesh.cc
|
|
transform_snap_object_mesh.cc
|
|
transform_snap_sequencer.cc
|
|
|
|
transform.hh
|
|
transform_constraints.hh
|
|
transform_convert.hh
|
|
transform_draw_cursors.hh
|
|
transform_gizmo.hh
|
|
transform_mode.hh
|
|
transform_orientations.hh
|
|
transform_snap.hh
|
|
transform_snap_object.hh
|
|
)
|
|
|
|
set(LIB
|
|
PRIVATE bf::animrig
|
|
PRIVATE bf::blenfont
|
|
PRIVATE bf::blentranslation
|
|
PRIVATE bf::extern::fmtlib
|
|
PRIVATE bf::blenkernel
|
|
PRIVATE bf::blenlib
|
|
PRIVATE bf::bmesh
|
|
PRIVATE bf::depsgraph
|
|
PRIVATE bf::dna
|
|
bf_editor_mask
|
|
PRIVATE bf::gpu
|
|
PRIVATE bf::intern::guardedalloc
|
|
PRIVATE bf::nodes
|
|
PRIVATE bf::render
|
|
PRIVATE bf::sequencer
|
|
PRIVATE bf::windowmanager
|
|
)
|
|
|
|
blender_add_lib(bf_editor_transform "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
|
|
# RNA_prototypes.hh
|
|
add_dependencies(bf_editor_transform bf_rna)
|