1/*
2 * \file RMF/RMF_config.h
3 * \brief Configuration and utility macros
4 *        Provide version information, plus macros to mark functions and
5 *        classes as exported from a DLL/.so and to set up namespaces.
6 *
7 * Copyright 2007-2021 IMP Inventors. All rights reserved.
8 *
9 */
10
11#ifndef RMF_CONFIG_H
12#define RMF_CONFIG_H
13
14#ifdef _MSC_VER
15
16#ifdef RMF_EXPORTS
17#define RMFEXPORT __declspec(dllexport)
18#else // EXPORTS
19#define RMFEXPORT __declspec(dllimport)
20#endif // EXPORTS
21
22#else // _MSC_VER
23
24#define RMFEXPORT
25
26#endif // _MSC_VER
27
28// Version number
29#define RMF_VERSION_MAJOR @RMF_VERSION_MAJOR@
30#define RMF_VERSION_MINOR @RMF_VERSION_MINOR@
31
32#define RMF_HAS_LOG4CXX @RMF_HAS_LOG4CXX@
33
34#define RMF_HAS_DEPRECATED_BACKENDS @RMF_DEPRECATED_BACKENDS@
35
36#ifdef _MSC_VER
37#pragma warning(disable: 4003)
38#endif
39
40#include "RMF/compiler_macros.h" // IWYU pragma: export
41
42#endif  /* RMF_CONFIG_H */
43