Merging r39191 through r39250 from trunk into soc-2011-tomato
[blender.git] / intern / itasc / CMakeLists.txt
1 # $Id: CMakeLists.txt 19905 2009-04-23 13:29:54Z ben2610 $
2 # ***** BEGIN GPL LICENSE BLOCK *****
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 #
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
20 #
21 # The Original Code is: all of this file.
22 #
23 # Contributor(s): Jacques Beaurain.
24 #
25 # ***** END GPL LICENSE BLOCK *****
26
27 set(INC
28         ../../extern/Eigen3
29 )
30
31 set(INC_SYS
32         
33 )
34
35 set(SRC
36         Armature.cpp
37         Cache.cpp
38         ConstraintSet.cpp
39         ControlledObject.cpp
40         CopyPose.cpp
41         Distance.cpp
42         FixedObject.cpp
43         MovingFrame.cpp
44         Scene.cpp
45         UncontrolledObject.cpp
46         WDLSSolver.cpp
47         WSDLSSolver.cpp
48         WorldObject.cpp
49         eigen_types.cpp
50         kdl/chain.cpp
51         kdl/chainfksolverpos_recursive.cpp
52         kdl/chainjnttojacsolver.cpp
53         kdl/frameacc.cpp
54         kdl/frames.cpp
55         kdl/frames_io.cpp
56         kdl/framevel.cpp
57         kdl/inertia.cpp
58         kdl/jacobian.cpp
59         kdl/jntarray.cpp
60         kdl/jntarrayacc.cpp
61         kdl/jntarrayvel.cpp
62         kdl/joint.cpp
63         kdl/kinfam_io.cpp
64         kdl/segment.cpp
65         kdl/tree.cpp
66         kdl/treefksolverpos_recursive.cpp
67         kdl/treejnttojacsolver.cpp
68         kdl/utilities/error_stack.cpp
69         kdl/utilities/utility.cpp
70         kdl/utilities/utility_io.cpp
71
72         Armature.hpp
73         Cache.hpp
74         ConstraintSet.hpp
75         ControlledObject.hpp
76         CopyPose.hpp
77         Distance.hpp
78         FixedObject.hpp
79         MovingFrame.hpp
80         Object.hpp
81         Scene.hpp
82         Solver.hpp
83         UncontrolledObject.hpp
84         WDLSSolver.hpp
85         WSDLSSolver.hpp
86         WorldObject.hpp
87         eigen_types.hpp
88         kdl/chain.hpp
89         kdl/chainfksolver.hpp
90         kdl/chainfksolverpos_recursive.hpp
91         kdl/chainjnttojacsolver.hpp
92         kdl/frameacc.hpp
93         kdl/frames.hpp
94         kdl/frames_io.hpp
95         kdl/framevel.hpp
96         kdl/inertia.hpp
97         kdl/jacobian.hpp
98         kdl/jntarray.hpp
99         kdl/jntarrayacc.hpp
100         kdl/jntarrayvel.hpp
101         kdl/joint.hpp
102         kdl/kinfam_io.hpp
103         kdl/segment.hpp
104         kdl/tree.hpp
105         kdl/treefksolver.hpp
106         kdl/treefksolverpos_recursive.hpp
107         kdl/treejnttojacsolver.hpp
108         kdl/utilities/error.h
109         kdl/utilities/error_stack.h
110         kdl/utilities/kdl-config.h
111         kdl/utilities/rall1d.h
112         kdl/utilities/rall2d.h
113         kdl/utilities/svd_eigen_HH.hpp
114         kdl/utilities/traits.h
115         kdl/utilities/utility.h
116         kdl/utilities/utility_io.h
117         ublas_types.hpp
118
119         # until we have another user...
120         ../../extern/Eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h
121         ../../extern/Eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h
122         ../../extern/Eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h
123         ../../extern/Eigen3/Eigen/src/plugins/BlockMethods.h
124         ../../extern/Eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h
125         ../../extern/Eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h
126         ../../extern/Eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h
127         ../../extern/Eigen3/Eigen/src/misc/Kernel.h
128         ../../extern/Eigen3/Eigen/src/misc/Image.h
129         ../../extern/Eigen3/Eigen/src/misc/Solve.h
130         ../../extern/Eigen3/Eigen/src/QR/HouseholderQR.h
131         ../../extern/Eigen3/Eigen/src/QR/ColPivHouseholderQR.h
132         ../../extern/Eigen3/Eigen/src/QR/FullPivHouseholderQR.h
133         ../../extern/Eigen3/Eigen/src/StlSupport/details.h
134         ../../extern/Eigen3/Eigen/src/StlSupport/StdList.h
135         ../../extern/Eigen3/Eigen/src/StlSupport/StdDeque.h
136         ../../extern/Eigen3/Eigen/src/StlSupport/StdVector.h
137         ../../extern/Eigen3/Eigen/src/SVD/UpperBidiagonalization.h
138         ../../extern/Eigen3/Eigen/src/SVD/JacobiSVD.h
139         ../../extern/Eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h
140         ../../extern/Eigen3/Eigen/src/Eigenvalues/ComplexSchur.h
141         ../../extern/Eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h
142         ../../extern/Eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h
143         ../../extern/Eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h
144         ../../extern/Eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h
145         ../../extern/Eigen3/Eigen/src/Eigenvalues/RealSchur.h
146         ../../extern/Eigen3/Eigen/src/Eigenvalues/EigenvaluesCommon.h
147         ../../extern/Eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h
148         ../../extern/Eigen3/Eigen/src/Eigenvalues/EigenSolver.h
149         ../../extern/Eigen3/Eigen/src/Jacobi/Jacobi.h
150         ../../extern/Eigen3/Eigen/src/Householder/Householder.h
151         ../../extern/Eigen3/Eigen/src/Householder/BlockHouseholder.h
152         ../../extern/Eigen3/Eigen/src/Householder/HouseholderSequence.h
153         ../../extern/Eigen3/Eigen/src/Geometry/RotationBase.h
154         ../../extern/Eigen3/Eigen/src/Geometry/Rotation2D.h
155         ../../extern/Eigen3/Eigen/src/Geometry/Homogeneous.h
156         ../../extern/Eigen3/Eigen/src/Geometry/Hyperplane.h
157         ../../extern/Eigen3/Eigen/src/Geometry/EulerAngles.h
158         ../../extern/Eigen3/Eigen/src/Geometry/arch/Geometry_SSE.h
159         ../../extern/Eigen3/Eigen/src/Geometry/ParametrizedLine.h
160         ../../extern/Eigen3/Eigen/src/Geometry/OrthoMethods.h
161         ../../extern/Eigen3/Eigen/src/Geometry/AngleAxis.h
162         ../../extern/Eigen3/Eigen/src/Geometry/Umeyama.h
163         ../../extern/Eigen3/Eigen/src/Geometry/Scaling.h
164         ../../extern/Eigen3/Eigen/src/Geometry/Translation.h
165         ../../extern/Eigen3/Eigen/src/Geometry/AlignedBox.h
166         ../../extern/Eigen3/Eigen/src/Geometry/Transform.h
167         ../../extern/Eigen3/Eigen/src/Geometry/Quaternion.h
168         ../../extern/Eigen3/Eigen/src/LU/PartialPivLU.h
169         ../../extern/Eigen3/Eigen/src/LU/Determinant.h
170         ../../extern/Eigen3/Eigen/src/LU/arch/Inverse_SSE.h
171         ../../extern/Eigen3/Eigen/src/LU/FullPivLU.h
172         ../../extern/Eigen3/Eigen/src/LU/Inverse.h
173         ../../extern/Eigen3/Eigen/src/Sparse/SparseMatrixBase.h
174         ../../extern/Eigen3/Eigen/src/Sparse/SparseSelfAdjointView.h
175         ../../extern/Eigen3/Eigen/src/Sparse/SparseVector.h
176         ../../extern/Eigen3/Eigen/src/Sparse/SparseDiagonalProduct.h
177         ../../extern/Eigen3/Eigen/src/Sparse/TriangularSolver.h
178         ../../extern/Eigen3/Eigen/src/Sparse/AmbiVector.h
179         ../../extern/Eigen3/Eigen/src/Sparse/SparseDenseProduct.h
180         ../../extern/Eigen3/Eigen/src/Sparse/SparseBlock.h
181         ../../extern/Eigen3/Eigen/src/Sparse/SparseTriangularView.h
182         ../../extern/Eigen3/Eigen/src/Sparse/SparseCwiseBinaryOp.h
183         ../../extern/Eigen3/Eigen/src/Sparse/CoreIterators.h
184         ../../extern/Eigen3/Eigen/src/Sparse/SparseMatrix.h
185         ../../extern/Eigen3/Eigen/src/Sparse/SparseAssign.h
186         ../../extern/Eigen3/Eigen/src/Sparse/SparseSparseProduct.h
187         ../../extern/Eigen3/Eigen/src/Sparse/SparseDot.h
188         ../../extern/Eigen3/Eigen/src/Sparse/DynamicSparseMatrix.h
189         ../../extern/Eigen3/Eigen/src/Sparse/SparseRedux.h
190         ../../extern/Eigen3/Eigen/src/Sparse/SparseFuzzy.h
191         ../../extern/Eigen3/Eigen/src/Sparse/SparseCwiseUnaryOp.h
192         ../../extern/Eigen3/Eigen/src/Sparse/SparseView.h
193         ../../extern/Eigen3/Eigen/src/Sparse/MappedSparseMatrix.h
194         ../../extern/Eigen3/Eigen/src/Sparse/SparseUtil.h
195         ../../extern/Eigen3/Eigen/src/Sparse/SparseTranspose.h
196         ../../extern/Eigen3/Eigen/src/Sparse/SparseProduct.h
197         ../../extern/Eigen3/Eigen/src/Sparse/CompressedStorage.h
198         ../../extern/Eigen3/Eigen/src/Eigen2Support/Cwise.h
199         ../../extern/Eigen3/Eigen/src/Eigen2Support/TriangularSolver.h
200         ../../extern/Eigen3/Eigen/src/Eigen2Support/QR.h
201         ../../extern/Eigen3/Eigen/src/Eigen2Support/Lazy.h
202         ../../extern/Eigen3/Eigen/src/Eigen2Support/Memory.h
203         ../../extern/Eigen3/Eigen/src/Eigen2Support/SVD.h
204         ../../extern/Eigen3/Eigen/src/Eigen2Support/CwiseOperators.h
205         ../../extern/Eigen3/Eigen/src/Eigen2Support/VectorBlock.h
206         ../../extern/Eigen3/Eigen/src/Eigen2Support/Meta.h
207         ../../extern/Eigen3/Eigen/src/Eigen2Support/Macros.h
208         ../../extern/Eigen3/Eigen/src/Eigen2Support/LeastSquares.h
209         ../../extern/Eigen3/Eigen/src/Eigen2Support/LU.h
210         ../../extern/Eigen3/Eigen/src/Eigen2Support/Block.h
211         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/RotationBase.h
212         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Rotation2D.h
213         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Hyperplane.h
214         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/ParametrizedLine.h
215         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/AngleAxis.h
216         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Scaling.h
217         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/All.h
218         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Translation.h
219         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/AlignedBox.h
220         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Transform.h
221         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Quaternion.h
222         ../../extern/Eigen3/Eigen/src/Eigen2Support/Minor.h
223         ../../extern/Eigen3/Eigen/src/Eigen2Support/MathFunctions.h
224         ../../extern/Eigen3/Eigen/src/Core/SelfAdjointView.h
225         ../../extern/Eigen3/Eigen/src/Core/MatrixBase.h
226         ../../extern/Eigen3/Eigen/src/Core/Swap.h
227         ../../extern/Eigen3/Eigen/src/Core/DenseCoeffsBase.h
228         ../../extern/Eigen3/Eigen/src/Core/DenseBase.h
229         ../../extern/Eigen3/Eigen/src/Core/GlobalFunctions.h
230         ../../extern/Eigen3/Eigen/src/Core/ProductBase.h
231         ../../extern/Eigen3/Eigen/src/Core/CwiseBinaryOp.h
232         ../../extern/Eigen3/Eigen/src/Core/Stride.h
233         ../../extern/Eigen3/Eigen/src/Core/Matrix.h
234         ../../extern/Eigen3/Eigen/src/Core/Visitor.h
235         ../../extern/Eigen3/Eigen/src/Core/Array.h
236         ../../extern/Eigen3/Eigen/src/Core/ReturnByValue.h
237         ../../extern/Eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h
238         ../../extern/Eigen3/Eigen/src/Core/EigenBase.h
239         ../../extern/Eigen3/Eigen/src/Core/Random.h
240         ../../extern/Eigen3/Eigen/src/Core/Redux.h
241         ../../extern/Eigen3/Eigen/src/Core/arch/Default/Settings.h
242         ../../extern/Eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h
243         ../../extern/Eigen3/Eigen/src/Core/arch/AltiVec/Complex.h
244         ../../extern/Eigen3/Eigen/src/Core/arch/NEON/PacketMath.h
245         ../../extern/Eigen3/Eigen/src/Core/arch/NEON/Complex.h
246         ../../extern/Eigen3/Eigen/src/Core/arch/SSE/PacketMath.h
247         ../../extern/Eigen3/Eigen/src/Core/arch/SSE/Complex.h
248         ../../extern/Eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h
249         ../../extern/Eigen3/Eigen/src/Core/BooleanRedux.h
250         ../../extern/Eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h
251         ../../extern/Eigen3/Eigen/src/Core/util/BlasUtil.h
252         ../../extern/Eigen3/Eigen/src/Core/util/Memory.h
253         ../../extern/Eigen3/Eigen/src/Core/util/Meta.h
254         ../../extern/Eigen3/Eigen/src/Core/util/Constants.h
255         ../../extern/Eigen3/Eigen/src/Core/util/Macros.h
256         ../../extern/Eigen3/Eigen/src/Core/util/ForwardDeclarations.h
257         ../../extern/Eigen3/Eigen/src/Core/util/StaticAssert.h
258         ../../extern/Eigen3/Eigen/src/Core/util/DisableStupidWarnings.h
259         ../../extern/Eigen3/Eigen/src/Core/util/XprHelper.h
260         ../../extern/Eigen3/Eigen/src/Core/VectorBlock.h
261         ../../extern/Eigen3/Eigen/src/Core/Transpositions.h
262         ../../extern/Eigen3/Eigen/src/Core/Select.h
263         ../../extern/Eigen3/Eigen/src/Core/BandMatrix.h
264         ../../extern/Eigen3/Eigen/src/Core/CwiseUnaryView.h
265         ../../extern/Eigen3/Eigen/src/Core/Dot.h
266         ../../extern/Eigen3/Eigen/src/Core/GenericPacketMath.h
267         ../../extern/Eigen3/Eigen/src/Core/Product.h
268         ../../extern/Eigen3/Eigen/src/Core/Transpose.h
269         ../../extern/Eigen3/Eigen/src/Core/Block.h
270         ../../extern/Eigen3/Eigen/src/Core/ArrayWrapper.h
271         ../../extern/Eigen3/Eigen/src/Core/MapBase.h
272         ../../extern/Eigen3/Eigen/src/Core/NoAlias.h
273         ../../extern/Eigen3/Eigen/src/Core/ForceAlignedAccess.h
274         ../../extern/Eigen3/Eigen/src/Core/PlainObjectBase.h
275         ../../extern/Eigen3/Eigen/src/Core/IO.h
276         ../../extern/Eigen3/Eigen/src/Core/DiagonalMatrix.h
277         ../../extern/Eigen3/Eigen/src/Core/CwiseUnaryOp.h
278         ../../extern/Eigen3/Eigen/src/Core/Reverse.h
279         ../../extern/Eigen3/Eigen/src/Core/Fuzzy.h
280         ../../extern/Eigen3/Eigen/src/Core/DenseStorage.h
281         ../../extern/Eigen3/Eigen/src/Core/StableNorm.h
282         ../../extern/Eigen3/Eigen/src/Core/NumTraits.h
283         ../../extern/Eigen3/Eigen/src/Core/Map.h
284         ../../extern/Eigen3/Eigen/src/Core/Functors.h
285         ../../extern/Eigen3/Eigen/src/Core/PermutationMatrix.h
286         ../../extern/Eigen3/Eigen/src/Core/ArrayBase.h
287         ../../extern/Eigen3/Eigen/src/Core/CwiseNullaryOp.h
288         ../../extern/Eigen3/Eigen/src/Core/SolveTriangular.h
289         ../../extern/Eigen3/Eigen/src/Core/NestByValue.h
290         ../../extern/Eigen3/Eigen/src/Core/DiagonalProduct.h
291         ../../extern/Eigen3/Eigen/src/Core/CommaInitializer.h
292         ../../extern/Eigen3/Eigen/src/Core/MathFunctions.h
293         ../../extern/Eigen3/Eigen/src/Core/Diagonal.h
294         ../../extern/Eigen3/Eigen/src/Core/Replicate.h
295         ../../extern/Eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h
296         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointProduct.h
297         ../../extern/Eigen3/Eigen/src/Core/products/GeneralMatrixVector.h
298         ../../extern/Eigen3/Eigen/src/Core/products/CoeffBasedProduct.h
299         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h
300         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h
301         ../../extern/Eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h
302         ../../extern/Eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h
303         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h
304         ../../extern/Eigen3/Eigen/src/Core/products/Parallelizer.h
305         ../../extern/Eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h
306         ../../extern/Eigen3/Eigen/src/Core/products/TriangularSolverVector.h
307         ../../extern/Eigen3/Eigen/src/Core/products/TriangularMatrixVector.h
308         ../../extern/Eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h
309         ../../extern/Eigen3/Eigen/src/Core/TriangularMatrix.h
310         ../../extern/Eigen3/Eigen/src/Core/VectorwiseOp.h
311         ../../extern/Eigen3/Eigen/src/Core/Assign.h
312         ../../extern/Eigen3/Eigen/src/Core/Flagged.h
313         ../../extern/Eigen3/Eigen/src/Cholesky/LDLT.h
314         ../../extern/Eigen3/Eigen/src/Cholesky/LLT.h
315 )
316
317 if(WIN32)
318         add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
319 endif()
320
321 blender_add_lib(bf_intern_itasc "${SRC}" "${INC}" "${INC_SYS}")