Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « sculpt_paint « editors « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2709ac3fd9106d8a8b9f86ee23115c2f2328fae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# SPDX-License-Identifier: GPL-2.0-or-later

set(INC
  ../include
  ../uvedit
  ../../blenkernel
  ../../blenlib
  ../../blentranslation
  ../../bmesh
  ../../depsgraph
  ../../draw
  ../../functions
  ../../geometry
  ../../gpu
  ../../imbuf
  ../../makesdna
  ../../makesrna
  ../../nodes
  ../../render
  ../../windowmanager
  ../../../../intern/atomic
  ../../../../intern/clog
  ../../../../intern/eigen
  ../../../../intern/guardedalloc
  # RNA_prototypes.h
  ${CMAKE_BINARY_DIR}/source/blender/makesrna
)

set(SRC
  curves_sculpt_add.cc
  curves_sculpt_brush.cc
  curves_sculpt_comb.cc
  curves_sculpt_delete.cc
  curves_sculpt_density.cc
  curves_sculpt_grow_shrink.cc
  curves_sculpt_ops.cc
  curves_sculpt_pinch.cc
  curves_sculpt_puff.cc
  curves_sculpt_selection.cc
  curves_sculpt_selection_paint.cc
  curves_sculpt_slide.cc
  curves_sculpt_smooth.cc
  curves_sculpt_snake_hook.cc
  paint_canvas.cc
  paint_cursor.c
  paint_curve.c
  paint_curve_undo.c
  paint_hide.c
  paint_image.cc
  paint_image_2d.c
  paint_image_2d_curve_mask.cc
  paint_image_ops_paint.cc
  paint_image_proj.c
  paint_mask.c
  paint_ops.c
  paint_stroke.c
  paint_utils.c
  paint_vertex.cc
  paint_vertex_color_ops.cc
  paint_vertex_proj.c
  paint_vertex_weight_ops.c
  paint_vertex_weight_utils.c
  sculpt.c
  sculpt_automasking.cc
  sculpt_boundary.c
  sculpt_brush_types.c
  sculpt_cloth.c
  sculpt_detail.c
  sculpt_dyntopo.c
  sculpt_expand.c
  sculpt_face_set.cc
  sculpt_filter_color.c
  sculpt_filter_mask.c
  sculpt_filter_mesh.c
  sculpt_geodesic.c
  sculpt_mask_expand.c
  sculpt_mask_init.c
  sculpt_multiplane_scrape.c
  sculpt_ops.c
  sculpt_paint_color.c
  sculpt_paint_image.cc
  sculpt_pose.c
  sculpt_smooth.c
  sculpt_transform.c
  sculpt_undo.c
  sculpt_uv.c

  curves_sculpt_intern.h
  curves_sculpt_intern.hh
  paint_intern.h
  sculpt_intern.h
)

set(LIB
  bf_blenkernel
  bf_blenlib
)

if(WITH_TBB)
  list(APPEND INC_SYS
    ${TBB_INCLUDE_DIRS}
  )
  add_definitions(-DWITH_TBB)
  if(WIN32)
    # TBB includes Windows.h which will define min/max macros
    # that will collide with the stl versions.
    add_definitions(-DNOMINMAX)
  endif()
endif()

blender_add_lib(bf_editor_sculpt_paint "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")

# RNA_prototypes.h
add_dependencies(bf_editor_sculpt_paint bf_rna)