Cleanup: sort cmake file lists
[blender.git] / source / gameengine / Expressions / 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         ../SceneGraph
29         ../../blender/blenlib
30         ../../../intern/guardedalloc
31         ../../../intern/string
32 )
33
34 set(INC_SYS
35         ../../../intern/moto/include
36 )
37
38 set(SRC
39         intern/BoolValue.cpp
40         intern/ConstExpr.cpp
41         intern/EmptyValue.cpp
42         intern/ErrorValue.cpp
43         intern/Expression.cpp
44         intern/FloatValue.cpp
45         intern/HashedPtr.cpp
46         intern/IdentifierExpr.cpp
47         intern/IfExpr.cpp
48         intern/InputParser.cpp
49         intern/IntValue.cpp
50         intern/ListValue.cpp
51         intern/ListWrapper.cpp
52         intern/Operator1Expr.cpp
53         intern/Operator2Expr.cpp
54         intern/PyObjectPlus.cpp
55         intern/StringValue.cpp
56         intern/Value.cpp
57         intern/VectorValue.cpp
58
59         EXP_BoolValue.h
60         EXP_ConstExpr.h
61         EXP_EmptyValue.h
62         EXP_ErrorValue.h
63         EXP_Expression.h
64         EXP_FloatValue.h
65         EXP_HashedPtr.h
66         EXP_IdentifierExpr.h
67         EXP_IfExpr.h
68         EXP_InputParser.h
69         EXP_IntValue.h
70         EXP_ListValue.h
71         EXP_ListWrapper.h
72         EXP_Operator1Expr.h
73         EXP_Operator2Expr.h
74         EXP_PyObjectPlus.h
75         EXP_Python.h
76         EXP_StringValue.h
77         EXP_Value.h
78         EXP_VectorValue.h
79         EXP_VoidValue.h
80
81 )
82
83 if(WITH_PYTHON)
84         list(APPEND SRC
85                 intern/PythonCallBack.cpp
86
87                 EXP_PythonCallBack.h
88         )
89 endif()
90
91 blender_add_lib(ge_logic_expressions "${SRC}" "${INC}" "${INC_SYS}")