OLD | NEW |
(Empty) | |
| 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 16 # |
| 17 # The Original Code is Copyright (C) 2011, Blender Foundation |
| 18 # All rights reserved. |
| 19 # |
| 20 # Contributor(s): Blender Foundation, |
| 21 # Sergey Sharybin |
| 22 # |
| 23 # ***** END GPL LICENSE BLOCK ***** |
| 24 |
| 25 set(INC |
| 26 . |
| 27 ../Eigen3 |
| 28 ./third_party/ssba |
| 29 ./third_party/ldl/Include |
| 30 ../colamd/Include |
| 31 ) |
| 32 |
| 33 set(INC_SYS |
| 34 |
| 35 ) |
| 36 |
| 37 set(SRC |
| 38 libmv-capi.cpp |
| 39 libmv/numeric/numeric.cc |
| 40 libmv/numeric/poly.cc |
| 41 libmv/numeric/tinyvector.cc |
| 42 libmv/simple_pipeline/reconstruction.cc |
| 43 libmv/simple_pipeline/resect.cc |
| 44 libmv/simple_pipeline/intersect.cc |
| 45 libmv/simple_pipeline/initialize_reconstruction.cc |
| 46 libmv/simple_pipeline/camera_intrinsics.cc |
| 47 libmv/simple_pipeline/pipeline.cc |
| 48 libmv/simple_pipeline/detect.cc |
| 49 libmv/simple_pipeline/tracks.cc |
| 50 libmv/simple_pipeline/bundle.cc |
| 51 libmv/image/convolve.cc |
| 52 libmv/image/array_nd.cc |
| 53 libmv/tracking/pyramid_region_tracker.cc |
| 54 libmv/tracking/sad.cc |
| 55 libmv/tracking/trklt_region_tracker.cc |
| 56 libmv/tracking/klt_region_tracker.cc |
| 57 libmv/tracking/retrack_region_tracker.cc |
| 58 libmv/multiview/projection.cc |
| 59 libmv/multiview/conditioning.cc |
| 60 libmv/multiview/fundamental.cc |
| 61 libmv/multiview/euclidean_resection.cc |
| 62 libmv/multiview/triangulation.cc |
| 63 |
| 64 third_party/ssba/Geometry/v3d_metricbundle.cpp |
| 65 third_party/ssba/Math/v3d_optimization.cpp |
| 66 third_party/gflags/gflags.cc |
| 67 third_party/gflags/gflags_reporting.cc |
| 68 third_party/gflags/gflags_completions.cc |
| 69 third_party/fast/fast_9.c |
| 70 third_party/fast/fast_10.c |
| 71 third_party/fast/fast_11.c |
| 72 third_party/fast/fast_12.c |
| 73 third_party/fast/fast.c |
| 74 third_party/fast/nonmax.c |
| 75 third_party/ldl/Source/ldl.c |
| 76 |
| 77 libmv-capi.h |
| 78 libmv/logging/logging.h |
| 79 libmv/numeric/dogleg.h |
| 80 libmv/numeric/levenberg_marquardt.h |
| 81 libmv/numeric/poly.h |
| 82 libmv/numeric/function_derivative.h |
| 83 libmv/numeric/numeric.h |
| 84 libmv/simple_pipeline/resect.h |
| 85 libmv/simple_pipeline/reconstruction.h |
| 86 libmv/simple_pipeline/camera_intrinsics.h |
| 87 libmv/simple_pipeline/tracks.h |
| 88 libmv/simple_pipeline/detect.h |
| 89 libmv/simple_pipeline/pipeline.h |
| 90 libmv/simple_pipeline/intersect.h |
| 91 libmv/simple_pipeline/bundle.h |
| 92 libmv/simple_pipeline/initialize_reconstruction.h |
| 93 libmv/image/convolve.h |
| 94 libmv/image/tuple.h |
| 95 libmv/image/array_nd.h |
| 96 libmv/image/sample.h |
| 97 libmv/image/image.h |
| 98 libmv/tracking/region_tracker.h |
| 99 libmv/tracking/retrack_region_tracker.h |
| 100 libmv/tracking/sad.h |
| 101 libmv/tracking/pyramid_region_tracker.h |
| 102 libmv/tracking/trklt_region_tracker.h |
| 103 libmv/tracking/klt_region_tracker.h |
| 104 libmv/base/id_generator.h |
| 105 libmv/base/vector.h |
| 106 libmv/base/scoped_ptr.h |
| 107 libmv/base/vector_utils.h |
| 108 libmv/multiview/nviewtriangulation.h |
| 109 libmv/multiview/resection.h |
| 110 libmv/multiview/euclidean_resection.h |
| 111 libmv/multiview/triangulation.h |
| 112 libmv/multiview/projection.h |
| 113 libmv/multiview/fundamental.h |
| 114 libmv/multiview/conditioning.h |
| 115 |
| 116 third_party/ssba/Geometry/v3d_metricbundle.h |
| 117 third_party/ssba/Geometry/v3d_cameramatrix.h |
| 118 third_party/ssba/Geometry/v3d_distortion.h |
| 119 third_party/ssba/Math/v3d_linear_utils.h |
| 120 third_party/ssba/Math/v3d_optimization.h |
| 121 third_party/ssba/Math/v3d_mathutilities.h |
| 122 third_party/ssba/Math/v3d_linear.h |
| 123 third_party/gflags/gflags_completions.h |
| 124 third_party/gflags/mutex.h |
| 125 third_party/gflags/config.h |
| 126 third_party/gflags/gflags.h |
| 127 third_party/fast/fast.h |
| 128 third_party/ldl/Include/ldl.h |
| 129 third_party/msinttypes/stdint.h |
| 130 third_party/msinttypes/inttypes.h |
| 131 ) |
| 132 |
| 133 IF(WIN32) |
| 134 list(APPEND SRC |
| 135 third_party/glog/src/logging.cc |
| 136 third_party/glog/src/raw_logging.cc |
| 137 third_party/glog/src/utilities.cc |
| 138 third_party/glog/src/vlog_is_on.cc |
| 139 third_party/glog/src/windows/port.cc |
| 140 |
| 141 third_party/glog/src/utilities.h |
| 142 third_party/glog/src/stacktrace_generic-inl.h |
| 143 third_party/glog/src/stacktrace.h |
| 144 third_party/glog/src/stacktrace_x86_64-inl.h |
| 145 third_party/glog/src/base/googleinit.h |
| 146 third_party/glog/src/base/mutex.h |
| 147 third_party/glog/src/base/commandlineflags.h |
| 148 third_party/glog/src/stacktrace_powerpc-inl.h |
| 149 third_party/glog/src/stacktrace_x86-inl.h |
| 150 third_party/glog/src/config.h |
| 151 third_party/glog/src/stacktrace_libunwind-inl.h |
| 152 third_party/glog/src/windows/glog/raw_logging.h |
| 153 third_party/glog/src/windows/glog/vlog_is_on.h |
| 154 third_party/glog/src/windows/glog/logging.h |
| 155 third_party/glog/src/windows/glog/log_severity.h |
| 156 third_party/glog/src/windows/port.h |
| 157 third_party/glog/src/windows/config.h |
| 158 ) |
| 159 |
| 160 list(APPEND INC |
| 161 ./third_party/glog/src/windows |
| 162 ./third_party/msinttypes |
| 163 ) |
| 164 |
| 165 IF(MSVC) |
| 166 set(MSVC_OFLAGS O1 O2 Ox) |
| 167 foreach(FLAG ) |
| 168 string(REPLACE "" "Od" CMAKE_CXX_FLAGS_RELEASE "") |
| 169 string(REPLACE "" "Od" CMAKE_C_FLAGS_RELWITHDEBINFO "") |
| 170 endforeach() |
| 171 ENDIF(MSVC) |
| 172 ELSE(WIN32) |
| 173 list(APPEND SRC |
| 174 third_party/glog/src/utilities.cc |
| 175 third_party/glog/src/symbolize.cc |
| 176 third_party/glog/src/vlog_is_on.cc |
| 177 third_party/glog/src/signalhandler.cc |
| 178 third_party/glog/src/logging.cc |
| 179 third_party/glog/src/demangle.cc |
| 180 third_party/glog/src/raw_logging.cc |
| 181 |
| 182 third_party/glog/src/utilities.h |
| 183 third_party/glog/src/stacktrace_generic-inl.h |
| 184 third_party/glog/src/config_mac.h |
| 185 third_party/glog/src/stacktrace.h |
| 186 third_party/glog/src/stacktrace_x86_64-inl.h |
| 187 third_party/glog/src/symbolize.h |
| 188 third_party/glog/src/base/googleinit.h |
| 189 third_party/glog/src/base/mutex.h |
| 190 third_party/glog/src/base/commandlineflags.h |
| 191 third_party/glog/src/stacktrace_powerpc-inl.h |
| 192 third_party/glog/src/stacktrace_x86-inl.h |
| 193 third_party/glog/src/config.h |
| 194 third_party/glog/src/demangle.h |
| 195 third_party/glog/src/stacktrace_libunwind-inl.h |
| 196 third_party/glog/src/glog/raw_logging.h |
| 197 third_party/glog/src/glog/vlog_is_on.h |
| 198 third_party/glog/src/glog/logging.h |
| 199 third_party/glog/src/glog/log_severity.h |
| 200 third_party/glog/src/config_linux.h |
| 201 ) |
| 202 |
| 203 list(APPEND INC |
| 204 ./third_party/glog/src |
| 205 ) |
| 206 ENDIF(WIN32) |
| 207 |
| 208 add_definitions(-DV3DLIB_ENABLE_SUITESPARSE -DGOOGLE_GLOG_DLL_DECL=) |
| 209 |
| 210 blender_add_lib(extern_libmv "${SRC}" "${INC}" "${INC_SYS}") |
OLD | NEW |