File: Config.h.in

package info (click to toggle)
geographiclib 1.49-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 11,656 kB
  • sloc: cpp: 32,394; cs: 9,567; sh: 4,757; ansic: 2,377; java: 2,208; python: 1,779; makefile: 861; xml: 390; pascal: 34
file content (25 lines) | stat: -rw-r--r-- 1,418 bytes parent folder | download
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 Geographic.hpp.  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