diff options
Diffstat (limited to 'src/cmake_config.h.in')
-rw-r--r-- | src/cmake_config.h.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cmake_config.h.in b/src/cmake_config.h.in new file mode 100644 index 000000000..8635b4f28 --- /dev/null +++ b/src/cmake_config.h.in @@ -0,0 +1,16 @@ +// Filled in by the build system + +#ifndef CMAKE_CONFIG_H +#define CMAKE_CONFIG_H + +#define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@" +#define VERSION_STRING "@VERSION_STRING@" +#ifdef NDEBUG + #define BUILD_TYPE "Release" +#else + #define BUILD_TYPE "Debug" +#endif +#define BUILD_INFO "VER="VERSION_STRING" BUILD_DATE=@BUILD_DATE@ RUN_IN_PLACE=@RUN_IN_PLACE@ INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@ BUILD_TYPE="BUILD_TYPE + +#endif + |