tpism_config.hh.in - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
HTML git clone git://src.adamsgaard.dk/pism
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
tpism_config.hh.in (2355B)
---
1 /* Copyright (C) 2019 PISM Authors
2 *
3 * This file is part of PISM.
4 *
5 * PISM is free software; you can redistribute it and/or modify it under the
6 * terms of the GNU General Public License as published by the Free Software
7 * Foundation; either version 3 of the License, or (at your option) any later
8 * version.
9 *
10 * PISM is distributed in the hope that it will be useful, but WITHOUT ANY
11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13 * details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with PISM; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 /*!
21 * This header contains values set during PISM's configuration process.
22 */
23
24 #ifndef PISM_CONFIG_HH
25 #define PISM_CONFIG_HH
26
27 namespace pism {
28
29 /* Path to PISM's configuration file (${Pism_CONFIG_FILE}) */
30 extern const char *config_file;
31
32 /* PISM's revision string (${Pism_REVISION_TAG}) */
33 extern const char *revision;
34
35 /* Configuration flags used to build the PETSc library PISM is linked to (${Pism_PETSC_CONFIGURE_FLAGS}) */
36 extern const char *petsc_configure_flags;
37
38 /* petsc4py version used to build PISM's Python bindings (${Pism_PETSC4PY_VERSION}) */
39 extern const char *petsc4py_version;
40
41 /* SWIG version used to build PISM's Python bindings (${SWIG_VERSION}) */
42 extern const char *swig_version;
43
44 /* CMake version used to build PISM (${CMAKE_VERSION}) */
45 extern const char *cmake_version;
46
47 /* Equal to 1 if PISM was built with debugging sanity checks enabled, 0 otherwise. */
48 #cmakedefine01 Pism_DEBUG
49
50 /* Equal to 1 if PISM was built with Jansson, 0 otherwise. */
51 #cmakedefine01 Pism_USE_JANSSON
52
53 /* Equal to 1 if PISM was built with PROJ, 0 otherwise. */
54 #cmakedefine01 Pism_USE_PROJ
55
56 /* Equal to 1 if PISM was built with parallel I/O support using NetCDF-4, 0 otherwise. */
57 #cmakedefine01 Pism_USE_PARALLEL_NETCDF4
58
59 /* Equal to 1 if PISM was built with PNetCDF's parallel I/O support. */
60 #cmakedefine01 Pism_USE_PNETCDF
61
62 /* Equal to 1 if PISM was built with NCAR's ParallelIO. */
63 #cmakedefine01 Pism_USE_PIO
64
65 /* Equal to 1 if PISM's Python bindings were built, 0 otherwise. */
66 #cmakedefine01 Pism_BUILD_PYTHON_BINDINGS
67
68 } // end of namespace pism
69
70 #endif /* PISM_CONFIG_HH */