Few minors style and type fixes (and a nice, harmless copy/paste error! ;) )
[blender.git] / source / blender / 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 #
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
19 #
20 # The Original Code is: all of this file.
21 #
22 # Contributor(s): Jacques Beaurain.
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 set(SRC_DNA_INC
27         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_ID.h
28         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_action_types.h
29         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_actuator_types.h
30         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_anim_types.h
31         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_armature_types.h
32         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_boid_types.h
33         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_brush_types.h
34         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_camera_types.h
35         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_cloth_types.h
36         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_color_types.h
37         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_constraint_types.h
38         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_controller_types.h
39         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_curve_types.h
40         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_customdata_types.h
41         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_defs.h
42         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_documentation.h
43         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_dynamicpaint_types.h
44         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_effect_types.h
45         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_fileglobal_types.h
46         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_genfile.h
47         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_gpencil_types.h
48         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_group_types.h
49         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_image_types.h
50         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_ipo_types.h
51         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_key_types.h
52         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_lamp_types.h
53         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_lattice_types.h
54         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_listBase.h
55         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_material_types.h
56         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_mesh_types.h
57         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_meshdata_types.h
58         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_meta_types.h
59         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_modifier_types.h
60         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_nla_types.h
61         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_node_types.h
62         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_fluidsim.h
63         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_force.h
64         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_object_types.h
65         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_outliner_types.h
66         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_packedFile_types.h
67         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_particle_types.h
68         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_property_types.h
69         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_scene_types.h
70         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_screen_types.h
71         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sdna_types.h
72         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sensor_types.h
73         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sequence_types.h
74         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_smoke_types.h
75         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_sound_types.h
76         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_space_types.h
77         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_speaker_types.h
78         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_text_types.h
79         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_texture_types.h
80         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_userdef_types.h
81         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_vec_types.h
82         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_vfont_types.h
83         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_view2d_types.h
84         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_view3d_types.h
85         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_windowmanager_types.h
86         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_world_types.h
87         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_movieclip_types.h
88         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_tracking_types.h
89         ${CMAKE_CURRENT_SOURCE_DIR}/makesdna/DNA_mask_types.h
90 )
91
92 add_subdirectory(editors)
93 add_subdirectory(windowmanager)
94 add_subdirectory(blenkernel)
95 add_subdirectory(blenlib)
96 add_subdirectory(bmesh)
97 add_subdirectory(render)
98 add_subdirectory(compositor)
99 add_subdirectory(blenfont)
100 add_subdirectory(blenloader)
101 add_subdirectory(ikplugin)
102 add_subdirectory(gpu)
103 add_subdirectory(opencl)
104 add_subdirectory(imbuf)
105 add_subdirectory(avi)
106 add_subdirectory(nodes)
107 add_subdirectory(modifiers)
108 add_subdirectory(makesdna)
109 add_subdirectory(makesrna)
110
111 if(WITH_IMAGE_OPENEXR)
112         add_subdirectory(imbuf/intern/openexr)
113 endif()
114
115 if(WITH_IMAGE_DDS)
116         add_subdirectory(imbuf/intern/dds)
117 endif()
118
119 if(WITH_IMAGE_CINEON)
120         add_subdirectory(imbuf/intern/cineon)
121 endif()
122
123 if(WITH_CODEC_QUICKTIME)
124         add_subdirectory(quicktime)
125 endif()
126
127 if(WITH_PYTHON)
128         add_subdirectory(python)
129 endif()
130
131 if(WITH_OPENCOLLADA)
132         add_subdirectory(collada)
133 endif()