3d24a0cb8c6556496f4fe65ab7dcaa88957c3ece
[blender.git] / intern / itasc / 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         ../../extern/Eigen3
28 )
29
30 set(INC_SYS
31         
32 )
33
34 set(SRC
35         Armature.cpp
36         Cache.cpp
37         ConstraintSet.cpp
38         ControlledObject.cpp
39         CopyPose.cpp
40         Distance.cpp
41         FixedObject.cpp
42         MovingFrame.cpp
43         Scene.cpp
44         UncontrolledObject.cpp
45         WDLSSolver.cpp
46         WSDLSSolver.cpp
47         WorldObject.cpp
48         eigen_types.cpp
49         ublas_types.hpp
50
51         kdl/chain.cpp
52         kdl/chainfksolverpos_recursive.cpp
53         kdl/chainjnttojacsolver.cpp
54         kdl/frameacc.cpp
55         kdl/frames.cpp
56         kdl/frames_io.cpp
57         kdl/framevel.cpp
58         kdl/inertia.cpp
59         kdl/jacobian.cpp
60         kdl/jntarray.cpp
61         kdl/jntarrayacc.cpp
62         kdl/jntarrayvel.cpp
63         kdl/joint.cpp
64         kdl/kinfam_io.cpp
65         kdl/segment.cpp
66         kdl/tree.cpp
67         kdl/treefksolverpos_recursive.cpp
68         kdl/treejnttojacsolver.cpp
69         kdl/utilities/error_stack.cpp
70         kdl/utilities/utility.cpp
71         kdl/utilities/utility_io.cpp
72
73         Armature.hpp
74         Cache.hpp
75         ConstraintSet.hpp
76         ControlledObject.hpp
77         CopyPose.hpp
78         Distance.hpp
79         FixedObject.hpp
80         MovingFrame.hpp
81         Object.hpp
82         Scene.hpp
83         Solver.hpp
84         UncontrolledObject.hpp
85         WDLSSolver.hpp
86         WSDLSSolver.hpp
87         WorldObject.hpp
88         eigen_types.hpp
89         kdl/chain.hpp
90         kdl/chainfksolver.hpp
91         kdl/chainfksolverpos_recursive.hpp
92         kdl/chainjnttojacsolver.hpp
93         kdl/frameacc.hpp
94         kdl/frames.hpp
95         kdl/frames_io.hpp
96         kdl/framevel.hpp
97         kdl/inertia.hpp
98         kdl/jacobian.hpp
99         kdl/jntarray.hpp
100         kdl/jntarrayacc.hpp
101         kdl/jntarrayvel.hpp
102         kdl/joint.hpp
103         kdl/kinfam_io.hpp
104         kdl/segment.hpp
105         kdl/tree.hpp
106         kdl/treefksolver.hpp
107         kdl/treefksolverpos_recursive.hpp
108         kdl/treejnttojacsolver.hpp
109         kdl/utilities/error.h
110         kdl/utilities/error_stack.h
111         kdl/utilities/kdl-config.h
112         kdl/utilities/rall1d.h
113         kdl/utilities/rall2d.h
114         kdl/utilities/svd_eigen_HH.hpp
115         kdl/utilities/traits.h
116         kdl/utilities/utility.h
117         kdl/utilities/utility_io.h
118
119         kdl/frameacc.inl
120         kdl/frames.inl
121         kdl/framevel.inl
122
123         # until we have another user...
124         ../../extern/Eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h
125         ../../extern/Eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h
126         ../../extern/Eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h
127         ../../extern/Eigen3/Eigen/src/plugins/BlockMethods.h
128         ../../extern/Eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h
129         ../../extern/Eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h
130         ../../extern/Eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h
131         ../../extern/Eigen3/Eigen/src/misc/Kernel.h
132         ../../extern/Eigen3/Eigen/src/misc/Image.h
133         ../../extern/Eigen3/Eigen/src/misc/Solve.h
134         ../../extern/Eigen3/Eigen/src/QR/HouseholderQR.h
135         ../../extern/Eigen3/Eigen/src/QR/ColPivHouseholderQR.h
136         ../../extern/Eigen3/Eigen/src/QR/FullPivHouseholderQR.h
137         ../../extern/Eigen3/Eigen/src/StlSupport/details.h
138         ../../extern/Eigen3/Eigen/src/StlSupport/StdList.h
139         ../../extern/Eigen3/Eigen/src/StlSupport/StdDeque.h
140         ../../extern/Eigen3/Eigen/src/StlSupport/StdVector.h
141         ../../extern/Eigen3/Eigen/src/SVD/UpperBidiagonalization.h
142         ../../extern/Eigen3/Eigen/src/SVD/JacobiSVD.h
143         ../../extern/Eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h
144         ../../extern/Eigen3/Eigen/src/Eigenvalues/ComplexSchur.h
145         ../../extern/Eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h
146         ../../extern/Eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h
147         ../../extern/Eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h
148         ../../extern/Eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h
149         ../../extern/Eigen3/Eigen/src/Eigenvalues/RealSchur.h
150         ../../extern/Eigen3/Eigen/src/Eigenvalues/EigenvaluesCommon.h
151         ../../extern/Eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h
152         ../../extern/Eigen3/Eigen/src/Eigenvalues/EigenSolver.h
153         ../../extern/Eigen3/Eigen/src/Jacobi/Jacobi.h
154         ../../extern/Eigen3/Eigen/src/Householder/Householder.h
155         ../../extern/Eigen3/Eigen/src/Householder/BlockHouseholder.h
156         ../../extern/Eigen3/Eigen/src/Householder/HouseholderSequence.h
157         ../../extern/Eigen3/Eigen/src/Geometry/RotationBase.h
158         ../../extern/Eigen3/Eigen/src/Geometry/Rotation2D.h
159         ../../extern/Eigen3/Eigen/src/Geometry/Homogeneous.h
160         ../../extern/Eigen3/Eigen/src/Geometry/Hyperplane.h
161         ../../extern/Eigen3/Eigen/src/Geometry/EulerAngles.h
162         ../../extern/Eigen3/Eigen/src/Geometry/arch/Geometry_SSE.h
163         ../../extern/Eigen3/Eigen/src/Geometry/ParametrizedLine.h
164         ../../extern/Eigen3/Eigen/src/Geometry/OrthoMethods.h
165         ../../extern/Eigen3/Eigen/src/Geometry/AngleAxis.h
166         ../../extern/Eigen3/Eigen/src/Geometry/Umeyama.h
167         ../../extern/Eigen3/Eigen/src/Geometry/Scaling.h
168         ../../extern/Eigen3/Eigen/src/Geometry/Translation.h
169         ../../extern/Eigen3/Eigen/src/Geometry/AlignedBox.h
170         ../../extern/Eigen3/Eigen/src/Geometry/Transform.h
171         ../../extern/Eigen3/Eigen/src/Geometry/Quaternion.h
172         ../../extern/Eigen3/Eigen/src/LU/PartialPivLU.h
173         ../../extern/Eigen3/Eigen/src/LU/Determinant.h
174         ../../extern/Eigen3/Eigen/src/LU/arch/Inverse_SSE.h
175         ../../extern/Eigen3/Eigen/src/LU/FullPivLU.h
176         ../../extern/Eigen3/Eigen/src/LU/Inverse.h
177         ../../extern/Eigen3/Eigen/src/Sparse/SparseMatrixBase.h
178         ../../extern/Eigen3/Eigen/src/Sparse/SparseSelfAdjointView.h
179         ../../extern/Eigen3/Eigen/src/Sparse/SparseVector.h
180         ../../extern/Eigen3/Eigen/src/Sparse/SparseDiagonalProduct.h
181         ../../extern/Eigen3/Eigen/src/Sparse/TriangularSolver.h
182         ../../extern/Eigen3/Eigen/src/Sparse/AmbiVector.h
183         ../../extern/Eigen3/Eigen/src/Sparse/SparseDenseProduct.h
184         ../../extern/Eigen3/Eigen/src/Sparse/SparseBlock.h
185         ../../extern/Eigen3/Eigen/src/Sparse/SparseTriangularView.h
186         ../../extern/Eigen3/Eigen/src/Sparse/SparseCwiseBinaryOp.h
187         ../../extern/Eigen3/Eigen/src/Sparse/CoreIterators.h
188         ../../extern/Eigen3/Eigen/src/Sparse/SparseMatrix.h
189         ../../extern/Eigen3/Eigen/src/Sparse/SparseAssign.h
190         ../../extern/Eigen3/Eigen/src/Sparse/SparseSparseProduct.h
191         ../../extern/Eigen3/Eigen/src/Sparse/SparseDot.h
192         ../../extern/Eigen3/Eigen/src/Sparse/DynamicSparseMatrix.h
193         ../../extern/Eigen3/Eigen/src/Sparse/SparseRedux.h
194         ../../extern/Eigen3/Eigen/src/Sparse/SparseFuzzy.h
195         ../../extern/Eigen3/Eigen/src/Sparse/SparseCwiseUnaryOp.h
196         ../../extern/Eigen3/Eigen/src/Sparse/SparseView.h
197         ../../extern/Eigen3/Eigen/src/Sparse/MappedSparseMatrix.h
198         ../../extern/Eigen3/Eigen/src/Sparse/SparseUtil.h
199         ../../extern/Eigen3/Eigen/src/Sparse/SparseTranspose.h
200         ../../extern/Eigen3/Eigen/src/Sparse/SparseProduct.h
201         ../../extern/Eigen3/Eigen/src/Sparse/CompressedStorage.h
202         ../../extern/Eigen3/Eigen/src/Eigen2Support/Cwise.h
203         ../../extern/Eigen3/Eigen/src/Eigen2Support/TriangularSolver.h
204         ../../extern/Eigen3/Eigen/src/Eigen2Support/QR.h
205         ../../extern/Eigen3/Eigen/src/Eigen2Support/Lazy.h
206         ../../extern/Eigen3/Eigen/src/Eigen2Support/Memory.h
207         ../../extern/Eigen3/Eigen/src/Eigen2Support/SVD.h
208         ../../extern/Eigen3/Eigen/src/Eigen2Support/CwiseOperators.h
209         ../../extern/Eigen3/Eigen/src/Eigen2Support/VectorBlock.h
210         ../../extern/Eigen3/Eigen/src/Eigen2Support/Meta.h
211         ../../extern/Eigen3/Eigen/src/Eigen2Support/Macros.h
212         ../../extern/Eigen3/Eigen/src/Eigen2Support/LeastSquares.h
213         ../../extern/Eigen3/Eigen/src/Eigen2Support/LU.h
214         ../../extern/Eigen3/Eigen/src/Eigen2Support/Block.h
215         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/RotationBase.h
216         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Rotation2D.h
217         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Hyperplane.h
218         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/ParametrizedLine.h
219         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/AngleAxis.h
220         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Scaling.h
221         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/All.h
222         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Translation.h
223         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/AlignedBox.h
224         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Transform.h
225         ../../extern/Eigen3/Eigen/src/Eigen2Support/Geometry/Quaternion.h
226         ../../extern/Eigen3/Eigen/src/Eigen2Support/Minor.h
227         ../../extern/Eigen3/Eigen/src/Eigen2Support/MathFunctions.h
228         ../../extern/Eigen3/Eigen/src/Core/SelfAdjointView.h
229         ../../extern/Eigen3/Eigen/src/Core/MatrixBase.h
230         ../../extern/Eigen3/Eigen/src/Core/Swap.h
231         ../../extern/Eigen3/Eigen/src/Core/DenseCoeffsBase.h
232         ../../extern/Eigen3/Eigen/src/Core/DenseBase.h
233         ../../extern/Eigen3/Eigen/src/Core/GlobalFunctions.h
234         ../../extern/Eigen3/Eigen/src/Core/ProductBase.h
235         ../../extern/Eigen3/Eigen/src/Core/CwiseBinaryOp.h
236         ../../extern/Eigen3/Eigen/src/Core/Stride.h
237         ../../extern/Eigen3/Eigen/src/Core/Matrix.h
238         ../../extern/Eigen3/Eigen/src/Core/Visitor.h
239         ../../extern/Eigen3/Eigen/src/Core/Array.h
240         ../../extern/Eigen3/Eigen/src/Core/ReturnByValue.h
241         ../../extern/Eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h
242         ../../extern/Eigen3/Eigen/src/Core/EigenBase.h
243         ../../extern/Eigen3/Eigen/src/Core/Random.h
244         ../../extern/Eigen3/Eigen/src/Core/Redux.h
245         ../../extern/Eigen3/Eigen/src/Core/arch/Default/Settings.h
246         ../../extern/Eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h
247         ../../extern/Eigen3/Eigen/src/Core/arch/AltiVec/Complex.h
248         ../../extern/Eigen3/Eigen/src/Core/arch/NEON/PacketMath.h
249         ../../extern/Eigen3/Eigen/src/Core/arch/NEON/Complex.h
250         ../../extern/Eigen3/Eigen/src/Core/arch/SSE/PacketMath.h
251         ../../extern/Eigen3/Eigen/src/Core/arch/SSE/Complex.h
252         ../../extern/Eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h
253         ../../extern/Eigen3/Eigen/src/Core/BooleanRedux.h
254         ../../extern/Eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h
255         ../../extern/Eigen3/Eigen/src/Core/util/BlasUtil.h
256         ../../extern/Eigen3/Eigen/src/Core/util/Memory.h
257         ../../extern/Eigen3/Eigen/src/Core/util/Meta.h
258         ../../extern/Eigen3/Eigen/src/Core/util/Constants.h
259         ../../extern/Eigen3/Eigen/src/Core/util/Macros.h
260         ../../extern/Eigen3/Eigen/src/Core/util/ForwardDeclarations.h
261         ../../extern/Eigen3/Eigen/src/Core/util/StaticAssert.h
262         ../../extern/Eigen3/Eigen/src/Core/util/DisableStupidWarnings.h
263         ../../extern/Eigen3/Eigen/src/Core/util/XprHelper.h
264         ../../extern/Eigen3/Eigen/src/Core/VectorBlock.h
265         ../../extern/Eigen3/Eigen/src/Core/Transpositions.h
266         ../../extern/Eigen3/Eigen/src/Core/Select.h
267         ../../extern/Eigen3/Eigen/src/Core/BandMatrix.h
268         ../../extern/Eigen3/Eigen/src/Core/CwiseUnaryView.h
269         ../../extern/Eigen3/Eigen/src/Core/Dot.h
270         ../../extern/Eigen3/Eigen/src/Core/GenericPacketMath.h
271         ../../extern/Eigen3/Eigen/src/Core/Product.h
272         ../../extern/Eigen3/Eigen/src/Core/Transpose.h
273         ../../extern/Eigen3/Eigen/src/Core/Block.h
274         ../../extern/Eigen3/Eigen/src/Core/ArrayWrapper.h
275         ../../extern/Eigen3/Eigen/src/Core/MapBase.h
276         ../../extern/Eigen3/Eigen/src/Core/NoAlias.h
277         ../../extern/Eigen3/Eigen/src/Core/ForceAlignedAccess.h
278         ../../extern/Eigen3/Eigen/src/Core/PlainObjectBase.h
279         ../../extern/Eigen3/Eigen/src/Core/IO.h
280         ../../extern/Eigen3/Eigen/src/Core/DiagonalMatrix.h
281         ../../extern/Eigen3/Eigen/src/Core/CwiseUnaryOp.h
282         ../../extern/Eigen3/Eigen/src/Core/Reverse.h
283         ../../extern/Eigen3/Eigen/src/Core/Fuzzy.h
284         ../../extern/Eigen3/Eigen/src/Core/DenseStorage.h
285         ../../extern/Eigen3/Eigen/src/Core/StableNorm.h
286         ../../extern/Eigen3/Eigen/src/Core/NumTraits.h
287         ../../extern/Eigen3/Eigen/src/Core/Map.h
288         ../../extern/Eigen3/Eigen/src/Core/Functors.h
289         ../../extern/Eigen3/Eigen/src/Core/PermutationMatrix.h
290         ../../extern/Eigen3/Eigen/src/Core/ArrayBase.h
291         ../../extern/Eigen3/Eigen/src/Core/CwiseNullaryOp.h
292         ../../extern/Eigen3/Eigen/src/Core/SolveTriangular.h
293         ../../extern/Eigen3/Eigen/src/Core/NestByValue.h
294         ../../extern/Eigen3/Eigen/src/Core/DiagonalProduct.h
295         ../../extern/Eigen3/Eigen/src/Core/CommaInitializer.h
296         ../../extern/Eigen3/Eigen/src/Core/MathFunctions.h
297         ../../extern/Eigen3/Eigen/src/Core/Diagonal.h
298         ../../extern/Eigen3/Eigen/src/Core/Replicate.h
299         ../../extern/Eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h
300         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointProduct.h
301         ../../extern/Eigen3/Eigen/src/Core/products/GeneralMatrixVector.h
302         ../../extern/Eigen3/Eigen/src/Core/products/CoeffBasedProduct.h
303         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h
304         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h
305         ../../extern/Eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h
306         ../../extern/Eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h
307         ../../extern/Eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h
308         ../../extern/Eigen3/Eigen/src/Core/products/Parallelizer.h
309         ../../extern/Eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h
310         ../../extern/Eigen3/Eigen/src/Core/products/TriangularSolverVector.h
311         ../../extern/Eigen3/Eigen/src/Core/products/TriangularMatrixVector.h
312         ../../extern/Eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h
313         ../../extern/Eigen3/Eigen/src/Core/TriangularMatrix.h
314         ../../extern/Eigen3/Eigen/src/Core/VectorwiseOp.h
315         ../../extern/Eigen3/Eigen/src/Core/Assign.h
316         ../../extern/Eigen3/Eigen/src/Core/Flagged.h
317         ../../extern/Eigen3/Eigen/src/Cholesky/LDLT.h
318         ../../extern/Eigen3/Eigen/src/Cholesky/LLT.h
319 )
320
321 if(WIN32)
322         add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
323 endif()
324
325 blender_add_lib(bf_intern_itasc "${SRC}" "${INC}" "${INC_SYS}")