Austin Schuh | 70cc955 | 2019-01-21 19:46:48 -0800 | [diff] [blame] | 1 | // Ceres Solver - A fast non-linear least squares minimizer |
| 2 | // Copyright 2015 Google Inc. All rights reserved. |
| 3 | // http://ceres-solver.org/ |
| 4 | // |
| 5 | // Redistribution and use in source and binary forms, with or without |
| 6 | // modification, are permitted provided that the following conditions are met: |
| 7 | // |
| 8 | // * Redistributions of source code must retain the above copyright notice, |
| 9 | // this list of conditions and the following disclaimer. |
| 10 | // * Redistributions in binary form must reproduce the above copyright notice, |
| 11 | // this list of conditions and the following disclaimer in the documentation |
| 12 | // and/or other materials provided with the distribution. |
| 13 | // * Neither the name of Google Inc. nor the names of its contributors may be |
| 14 | // used to endorse or promote products derived from this software without |
| 15 | // specific prior written permission. |
| 16 | // |
| 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 27 | // POSSIBILITY OF SUCH DAMAGE. |
| 28 | // |
| 29 | // Author: alexs.mac@gmail.com (Alex Stewart) |
| 30 | |
| 31 | // Configuration options for Ceres. |
| 32 | // |
| 33 | // Do not edit this file, it was automatically configured by CMake when |
| 34 | // Ceres was compiled with the relevant configuration for the machine |
| 35 | // on which Ceres was compiled. |
| 36 | // |
| 37 | // Ceres Developers: All options should have the same name as their mapped |
| 38 | // CMake options, in the preconfigured version of this file |
| 39 | // all options should be enclosed in '@'. |
| 40 | |
| 41 | #ifndef CERES_PUBLIC_INTERNAL_CONFIG_H_ |
| 42 | #define CERES_PUBLIC_INTERNAL_CONFIG_H_ |
| 43 | |
| 44 | // If defined, use the LGPL code in Eigen. |
| 45 | @CERES_USE_EIGEN_SPARSE@ |
| 46 | |
| 47 | // If defined, Ceres was compiled without LAPACK. |
| 48 | @CERES_NO_LAPACK@ |
| 49 | |
| 50 | // If defined, Ceres was compiled without SuiteSparse. |
| 51 | @CERES_NO_SUITESPARSE@ |
| 52 | |
| 53 | // If defined, Ceres was compiled without CXSparse. |
| 54 | @CERES_NO_CXSPARSE@ |
| 55 | |
| 56 | // If defined, Ceres was compiled without Apple's Accelerate framework solvers. |
| 57 | @CERES_NO_ACCELERATE_SPARSE@ |
| 58 | |
| 59 | #if defined(CERES_NO_SUITESPARSE) && \ |
| 60 | defined(CERES_NO_ACCELERATE_SPARSE) && \ |
| 61 | defined(CERES_NO_CXSPARSE) && \ |
| 62 | !defined(CERES_USE_EIGEN_SPARSE) // NOLINT |
| 63 | // If defined Ceres was compiled without any sparse linear algebra support. |
| 64 | #define CERES_NO_SPARSE |
| 65 | #endif |
| 66 | |
| 67 | // If defined, Ceres was compiled without Schur specializations. |
| 68 | @CERES_RESTRICT_SCHUR_SPECIALIZATION@ |
| 69 | |
| 70 | // If defined, Ceres was compiled to use Eigen instead of hardcoded BLAS |
| 71 | // routines. |
| 72 | @CERES_NO_CUSTOM_BLAS@ |
| 73 | |
| 74 | // If defined, Ceres was compiled without multithreading support. |
| 75 | @CERES_NO_THREADS@ |
| 76 | // If defined Ceres was compiled with OpenMP multithreading support. |
| 77 | @CERES_USE_OPENMP@ |
| 78 | // If defined Ceres was compiled with C++11 thread support. |
| 79 | @CERES_USE_CXX11_THREADS@ |
| 80 | |
| 81 | // If defined, Ceres was built as a shared library. |
| 82 | @CERES_USING_SHARED_LIBRARY@ |
| 83 | |
| 84 | // If defined, Ceres was compiled with a version MSVC >= 2005 which |
| 85 | // deprecated the standard POSIX names for bessel functions, replacing them |
| 86 | // with underscore prefixed versions (e.g. j0() -> _j0()). |
| 87 | @CERES_MSVC_USE_UNDERSCORE_PREFIXED_BESSEL_FUNCTIONS@ |
| 88 | |
| 89 | #endif // CERES_PUBLIC_INTERNAL_CONFIG_H_ |