File: ecbuild_config.h.in

package info (click to toggle)
eccodes 2.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 480,184 kB
  • sloc: ansic: 163,815; makefile: 21,266; sh: 8,507; python: 6,026; f90: 5,762; perl: 2,891; yacc: 818; lex: 356; cpp: 305; fortran: 116; awk: 66
file content (73 lines) | stat: -rw-r--r-- 2,497 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
 * (C) Copyright 2011- ECMWF.
 *
 * This software is licensed under the terms of the Apache Licence Version 2.0
 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
 * In applying this licence, ECMWF does not waive the privileges and immunities
 * granted to it by virtue of its status as an intergovernmental organisation nor
 * does it submit to any jurisdiction.
 */

#ifndef @PROJECT_NAME@_ecbuild_config_h
#define @PROJECT_NAME@_ecbuild_config_h

/* ecbuild info */

#ifndef ECBUILD_VERSION_STR
#define ECBUILD_VERSION_STR "@ECBUILD_VERSION_STR@"
#endif
#ifndef ECBUILD_MACROS_DIR
#define ECBUILD_MACROS_DIR  "@ECBUILD_MACROS_DIR@"
#endif

/* config info */

#define @PNAME@_OS_NAME          "Debian"
#define @PNAME@_OS_BITS          @EC_OS_BITS@
#define @PNAME@_OS_BITS_STR      "@EC_OS_BITS@"
#define @PNAME@_OS_STR           "@EC_OS_NAME@.@EC_OS_BITS@"
#define @PNAME@_OS_VERSION       "Debian"
#define @PNAME@_SYS_PROCESSOR    "@CMAKE_SYSTEM_PROCESSOR@"

#ifndef HAVE_BIT_REPRODUCIBLE
   #define @PNAME@_BUILD_TIMESTAMP  "@EC_BUILD_TIMESTAMP@"
#else
   #define @PNAME@_BUILD_TIMESTAMP "NO-TIMESTAMP-FOR-BIT_REPRODUCIBLE-BUILD"
#endif
#define @PNAME@_BUILD_TYPE       "@CMAKE_BUILD_TYPE@"

#define @PNAME@_C_COMPILER_ID      "@CMAKE_C_COMPILER_ID@"
#define @PNAME@_C_COMPILER_VERSION "@CMAKE_C_COMPILER_VERSION@"

#define @PNAME@_CXX_COMPILER_ID      "@CMAKE_CXX_COMPILER_ID@"
#define @PNAME@_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@"

#define @PNAME@_C_COMPILER       "@CMAKE_C_COMPILER@"
#define @PNAME@_C_FLAGS          "@EC_C_FLAGS@"

#define @PNAME@_CXX_COMPILER     "@CMAKE_CXX_COMPILER@"
#define @PNAME@_CXX_FLAGS        "@EC_CXX_FLAGS@"

/* Needed for finding per package config files */

#define @PNAME@_INSTALL_DIR       "@CMAKE_INSTALL_PREFIX@"
#define @PNAME@_INSTALL_BIN_DIR   "@CMAKE_INSTALL_PREFIX@/@INSTALL_BIN_DIR@"
#define @PNAME@_INSTALL_LIB_DIR   "@CMAKE_INSTALL_PREFIX@/@INSTALL_LIB_DIR@"
#define @PNAME@_INSTALL_DATA_DIR  "@CMAKE_INSTALL_PREFIX@/@INSTALL_DATA_DIR@"

#cmakedefine EC_HAVE_FORTRAN

#ifdef EC_HAVE_FORTRAN

#define @PNAME@_Fortran_COMPILER_ID      "@CMAKE_Fortran_COMPILER_ID@"
#define @PNAME@_Fortran_COMPILER_VERSION "@CMAKE_Fortran_COMPILER_VERSION@"

#define @PNAME@_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@"
#define @PNAME@_Fortran_FLAGS    "@EC_Fortran_FLAGS@"

#endif

#cmakedefine BOOST_UNIT_TEST_FRAMEWORK_HEADER_ONLY
#cmakedefine BOOST_UNIT_TEST_FRAMEWORK_LINKED

#endif /* @PROJECT_NAME@_ecbuild_config_h */