File: Config.h.in

package info (click to toggle)
geographiclib 2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,572 kB
  • sloc: cpp: 27,765; sh: 5,463; makefile: 695; python: 12; ansic: 10
file content (25 lines) | stat: -rw-r--r-- 1,425 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#define GEOGRAPHICLIB_VERSION_STRING "@PROJECT_VERSION@"
#define GEOGRAPHICLIB_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define GEOGRAPHICLIB_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define GEOGRAPHICLIB_VERSION_PATCH @PROJECT_VERSION_PATCH@
#define GEOGRAPHICLIB_DATA "@GEOGRAPHICLIB_DATA@"

// These are macros which affect the building of the library
#cmakedefine01 GEOGRAPHICLIB_HAVE_LONG_DOUBLE
#cmakedefine01 GEOGRAPHICLIB_WORDS_BIGENDIAN
#define GEOGRAPHICLIB_PRECISION @GEOGRAPHICLIB_PRECISION@

// Specify whether GeographicLib is a shared or static library.  When compiling
// under Visual Studio it is necessary to specify whether GeographicLib is a
// shared library.  This is done with the macro GEOGRAPHICLIB_SHARED_LIB, which
// cmake will correctly define as 0 or 1 when only one type of library is in
// the package.  If both shared and static libraries are available,
// GEOGRAPHICLIB_SHARED_LIB is set to 2 which triggers a preprocessor error in
// Constants.hpp.  In this case, the appropriate value (0 or 1) for
// GEOGRAPHICLIB_SHARED_LIB must be specified when compiling any program that
// includes GeographicLib headers.  This is done automatically if GeographicLib
// and the user's code were built with cmake version 2.8.11 (which introduced
// the command target_compile_definitions) or later.
#if !defined(GEOGRAPHICLIB_SHARED_LIB)
#define GEOGRAPHICLIB_SHARED_LIB @GEOGRAPHICLIB_LIB_TYPE_VAL@
#endif