g2o
Toggle main menu visibility
Loading...
Searching...
No Matches
g2o
solvers
csparse
g2o_csparse_extension_api.h
Go to the documentation of this file.
1
// g2o - General Graph Optimization
2
// Copyright (C) 2012 Rainer Kuemmerle
3
//
4
// g2o is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU Lesser General Public License as published
6
// by the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// g2o 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 Lesser General Public License for more details.
13
//
14
// You should have received a copy of the GNU Lesser General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17
#ifndef G2O_CSPARSE_EXTENSION_API_H
18
#define G2O_CSPARSE_EXTENSION_API_H
19
20
#include "g2o/config.h"
21
22
#ifdef _MSC_VER
23
// We are using a Microsoft compiler:
24
#ifdef G2O_LGPL_SHARED_LIBS
25
#ifdef csparse_extension_EXPORTS
26
#define G2O_CSPARSE_EXTENSION_API __declspec(dllexport)
27
#else
28
#define G2O_CSPARSE_EXTENSION_API __declspec(dllimport)
29
#endif
30
#else
31
#define G2O_CSPARSE_EXTENSION_API
32
#endif
33
34
#else
35
// Not Microsoft compiler so set empty definition:
36
#define G2O_CSPARSE_EXTENSION_API
37
#endif
38
39
#endif
// G2O_CSPARSE_API_H
Generated on
for g2o by
1.17.0