Merging r38036 through r38196 from trunk into soc-2011-tomato
[blender.git] / extern / libmv / CMakeLists.txt
1 # $Id$
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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17 #
18 # The Original Code is Copyright (C) 2011 Blender Foundation.
19 # All rights reserved.
20 #
21 # Contributor(s): Blender Foundation,
22 #                 Sergey Sharybin
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 set(INC
27         .
28         ../Eigen3
29 )
30
31 set(INC_SYS
32
33 )
34
35 set(SRC
36         libmv-capi.cpp
37         libmv/numeric/numeric.cc
38         libmv/numeric/poly.cc
39         libmv/numeric/tinyvector.cc
40         libmv/image/convolve.cc
41         libmv/image/array_nd.cc
42         libmv/tracking/pyramid_region_tracker.cc
43         libmv/tracking/trklt_region_tracker.cc
44         libmv/tracking/klt_region_tracker.cc
45         libmv/tracking/retrack_region_tracker.cc
46
47         libmv-capi.h
48         libmv/logging/logging.h
49         libmv/numeric/dogleg.h
50         libmv/numeric/levenberg_marquardt.h
51         libmv/numeric/poly.h
52         libmv/numeric/function_derivative.h
53         libmv/numeric/numeric.h
54         libmv/image/convolve.h
55         libmv/image/tuple.h
56         libmv/image/array_nd.h
57         libmv/image/sample.h
58         libmv/image/image.h
59         libmv/tracking/region_tracker.h
60         libmv/tracking/retrack_region_tracker.h
61         libmv/tracking/pyramid_region_tracker.h
62         libmv/tracking/trklt_region_tracker.h
63         libmv/tracking/klt_region_tracker.h
64         libmv/base/id_generator.h
65         libmv/base/vector.h
66         libmv/base/scoped_ptr.h
67         libmv/base/vector_utils.h
68 )
69
70 blender_add_lib(extern_libmv "${SRC}" "${INC}" "${INC_SYS}")