PURIFY
Next-generation radio interferometric imaging
config.in.h
Go to the documentation of this file.
1 #ifndef PURIFY_CPP_CONFIG_H
2 #define PURIFY_CPP_CONFIG_H
3 
5 #cmakedefine PURIFY_HAS_USING
6 #ifndef PURIFY_HAS_USING
7 #define PURIFY_HAS_NOT_USING
8 #endif
9 
11 #cmakedefine PURIFY_OPENMP
12 
14 #cmakedefine PURIFY_OPENMP_FFTW
15 
17 #cmakedefine PURIFY_MPI
18 
20 #cmakedefine PURIFY_ARRAYFIRE
21 
23 #cmakedefine PURIFY_CImg
24 
26 #cmakedefine PURIFY_CASACORE
27 
29 #cmakedefine PURIFY_ONNXRT
30 
32 #cmakedefine PURIFY_H5
33 
34 #include <cstdint>
35 #include <string>
36 #include <tuple>
37 
38 namespace purify {
40 inline std::string version() { return "@Purify_VERSION@"; }
42 inline std::tuple<uint8_t, uint8_t, uint8_t> version_tuple() {
43  // clang-format off
44  return std::tuple<uint8_t, uint8_t, uint8_t>(
45  @Purify_VERSION_MAJOR@, @Purify_VERSION_MINOR@, @Purify_VERSION_PATCH@);
46  // clang-format on
47 }
49 inline std::string gitref() { return "@Purify_GITREF@"; }
51 inline std::string default_logging_level() { return "@PURIFY_TEST_LOG_LEVEL@"; }
52 } // namespace purify
53 
54 #endif
std::string default_logging_level()
Default logging level.
Definition: config.in.h:51
std::string version()
Returns library version.
Definition: config.in.h:40
std::string gitref()
Returns library git reference, if known.
Definition: config.in.h:49
std::tuple< uint8_t, uint8_t, uint8_t > version_tuple()
Returns library version.
Definition: config.in.h:42