177c76327aa69210e98a86926c92d2a4ae4266de
[blender.git] / intern / gawain / CMakeLists.txt
1
2 set(INC
3         gawain
4 )
5
6 set(INC_SYS
7         ${GLEW_INCLUDE_PATH}
8 )
9
10 set(SRC
11         src/gwn_attr_binding.c
12         src/gwn_batch.c
13         src/gwn_element.c
14         src/gwn_buffer_id.cpp
15         src/gwn_immediate.c
16         src/gwn_imm_util.c
17         src/gwn_primitive.c
18         src/gwn_shader_interface.c
19         src/gwn_vertex_array_id.cpp
20         src/gwn_vertex_buffer.c
21         src/gwn_vertex_format.c
22
23         gawain/gwn_attr_binding.h
24         gawain/gwn_attr_binding_private.h
25         gawain/gwn_batch.h
26         gawain/gwn_batch_private.h
27         gawain/gwn_buffer_id.h
28         gawain/gwn_common.h
29         gawain/gwn_element.h
30         gawain/gwn_imm_util.h
31         gawain/gwn_immediate.h
32         gawain/gwn_primitive.h
33         gawain/gwn_primitive_private.h
34         gawain/gwn_shader_interface.h
35         gawain/gwn_vertex_array_id.h
36         gawain/gwn_vertex_buffer.h
37         gawain/gwn_vertex_format.h
38         gawain/gwn_vertex_format_private.h
39 )
40
41 add_definitions(${GL_DEFINITIONS})
42
43 blender_add_lib(bf_intern_gawain "${SRC}" "${INC}" "${INC_SYS}")