d2b58d6111268560532ecfde980df4c5da594074
[blender.git] / source / blender / nodes / 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(INC 
27         .
28         ../blenkernel
29         ../blenlib
30         ../blenloader
31         ../gpu
32         ../imbuf
33         ../makesdna
34         ../makesrna
35         ../render/extern/include
36         ../../../intern/guardedalloc
37 )
38
39 set(INC_SYS
40         ${GLEW_INCLUDE_PATH}
41 )
42
43 set(SRC
44         intern/CMP_nodes/CMP_alphaOver.c
45         intern/CMP_nodes/CMP_bilateralblur.c
46         intern/CMP_nodes/CMP_blur.c
47         intern/CMP_nodes/CMP_brightness.c
48         intern/CMP_nodes/CMP_channelMatte.c
49         intern/CMP_nodes/CMP_chromaMatte.c
50         intern/CMP_nodes/CMP_colorMatte.c
51         intern/CMP_nodes/CMP_colorSpill.c
52         intern/CMP_nodes/CMP_colorbalance.c
53         intern/CMP_nodes/CMP_composite.c
54         intern/CMP_nodes/CMP_crop.c
55         intern/CMP_nodes/CMP_curves.c
56         intern/CMP_nodes/CMP_defocus.c
57         intern/CMP_nodes/CMP_diffMatte.c
58         intern/CMP_nodes/CMP_dilate.c
59         intern/CMP_nodes/CMP_directionalblur.c
60         intern/CMP_nodes/CMP_displace.c
61         intern/CMP_nodes/CMP_distanceMatte.c
62         intern/CMP_nodes/CMP_filter.c
63         intern/CMP_nodes/CMP_flip.c
64         intern/CMP_nodes/CMP_gamma.c
65         intern/CMP_nodes/CMP_glare.c
66         intern/CMP_nodes/CMP_hueSatVal.c
67         intern/CMP_nodes/CMP_huecorrect.c
68         intern/CMP_nodes/CMP_idMask.c
69         intern/CMP_nodes/CMP_image.c
70         intern/CMP_nodes/CMP_invert.c
71         intern/CMP_nodes/CMP_lensdist.c
72         intern/CMP_nodes/CMP_levels.c
73         intern/CMP_nodes/CMP_lummaMatte.c
74         intern/CMP_nodes/CMP_mapUV.c
75         intern/CMP_nodes/CMP_mapValue.c
76         intern/CMP_nodes/CMP_math.c
77         intern/CMP_nodes/CMP_mixrgb.c
78         intern/CMP_nodes/CMP_normal.c
79         intern/CMP_nodes/CMP_normalize.c
80         intern/CMP_nodes/CMP_outputFile.c
81         intern/CMP_nodes/CMP_premulkey.c
82         intern/CMP_nodes/CMP_rgb.c
83         intern/CMP_nodes/CMP_rotate.c
84         intern/CMP_nodes/CMP_scale.c
85         intern/CMP_nodes/CMP_sepcombHSVA.c
86         intern/CMP_nodes/CMP_sepcombRGBA.c
87         intern/CMP_nodes/CMP_sepcombYCCA.c
88         intern/CMP_nodes/CMP_sepcombYUVA.c
89         intern/CMP_nodes/CMP_setalpha.c
90         intern/CMP_nodes/CMP_splitViewer.c
91         intern/CMP_nodes/CMP_texture.c
92         intern/CMP_nodes/CMP_tonemap.c
93         intern/CMP_nodes/CMP_translate.c
94         intern/CMP_nodes/CMP_valToRgb.c
95         intern/CMP_nodes/CMP_value.c
96         intern/CMP_nodes/CMP_vecBlur.c
97         intern/CMP_nodes/CMP_viewer.c
98         intern/CMP_nodes/CMP_zcombine.c
99         intern/CMP_util.c
100         intern/SHD_nodes/SHD_camera.c
101         intern/SHD_nodes/SHD_curves.c
102         intern/SHD_nodes/SHD_dynamic.c
103         intern/SHD_nodes/SHD_geom.c
104         intern/SHD_nodes/SHD_hueSatVal.c
105         intern/SHD_nodes/SHD_invert.c
106         intern/SHD_nodes/SHD_mapping.c
107         intern/SHD_nodes/SHD_material.c
108         intern/SHD_nodes/SHD_math.c
109         intern/SHD_nodes/SHD_mixRgb.c
110         intern/SHD_nodes/SHD_normal.c
111         intern/SHD_nodes/SHD_output.c
112         intern/SHD_nodes/SHD_rgb.c
113         intern/SHD_nodes/SHD_sepcombRGB.c
114         intern/SHD_nodes/SHD_squeeze.c
115         intern/SHD_nodes/SHD_texture.c
116         intern/SHD_nodes/SHD_valToRgb.c
117         intern/SHD_nodes/SHD_value.c
118         intern/SHD_nodes/SHD_vectMath.c
119         intern/SHD_util.c
120         intern/TEX_nodes/TEX_at.c
121         intern/TEX_nodes/TEX_bricks.c
122         intern/TEX_nodes/TEX_checker.c
123         intern/TEX_nodes/TEX_compose.c
124         intern/TEX_nodes/TEX_coord.c
125         intern/TEX_nodes/TEX_curves.c
126         intern/TEX_nodes/TEX_decompose.c
127         intern/TEX_nodes/TEX_distance.c
128         intern/TEX_nodes/TEX_hueSatVal.c
129         intern/TEX_nodes/TEX_image.c
130         intern/TEX_nodes/TEX_invert.c
131         intern/TEX_nodes/TEX_math.c
132         intern/TEX_nodes/TEX_mixRgb.c
133         intern/TEX_nodes/TEX_output.c
134         intern/TEX_nodes/TEX_proc.c
135         intern/TEX_nodes/TEX_rotate.c
136         intern/TEX_nodes/TEX_scale.c
137         intern/TEX_nodes/TEX_texture.c
138         intern/TEX_nodes/TEX_translate.c
139         intern/TEX_nodes/TEX_valToNor.c
140         intern/TEX_nodes/TEX_valToRgb.c
141         intern/TEX_nodes/TEX_viewer.c
142         intern/TEX_util.c
143         intern/node_util.c
144
145         CMP_node.h
146         SHD_node.h
147         TEX_node.h
148         intern/CMP_util.h
149         intern/SHD_util.h
150         intern/TEX_util.h
151         intern/node_util.h
152 )
153
154 if(WITH_PYTHON)
155         list(APPEND INC ../python)
156         list(APPEND INC_SYS ${PYTHON_INCLUDE_DIRS})
157         add_definitions(-DWITH_PYTHON)
158 endif()
159
160 blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}")