Cleanup: remove contributors for CMake files
[blender.git] / source / blender / editors / gpencil / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # ***** END GPL LICENSE BLOCK *****
17
18 set(INC
19         ../include
20         ../../blenfont
21         ../../blenkernel
22         ../../blenlib
23         ../../blentranslation
24         ../../depsgraph
25         ../../imbuf
26         ../../gpu
27         ../../makesdna
28         ../../makesrna
29         ../../windowmanager
30         ../../../../intern/guardedalloc
31         ../../../../intern/glew-mx
32 )
33
34 set(INC_SYS
35         ${GLEW_INCLUDE_PATH}
36 )
37
38 set(SRC
39         annotate_draw.c
40         annotate_paint.c
41         drawgpencil.c
42         editaction_gpencil.c
43         gpencil_add_monkey.c
44         gpencil_add_stroke.c
45         gpencil_armature.c
46         gpencil_brush.c
47         gpencil_convert.c
48         gpencil_data.c
49         gpencil_edit.c
50         gpencil_fill.c
51         gpencil_interpolate.c
52         gpencil_merge.c
53         gpencil_old.c
54         gpencil_ops.c
55         gpencil_paint.c
56         gpencil_primitive.c
57         gpencil_select.c
58         gpencil_undo.c
59         gpencil_utils.c
60
61         gpencil_intern.h
62 )
63
64 if(WITH_INTERNATIONAL)
65         add_definitions(-DWITH_INTERNATIONAL)
66 endif()
67
68 add_definitions(${GL_DEFINITIONS})
69
70 blender_add_lib(bf_editor_gpencil "${SRC}" "${INC}" "${INC_SYS}")