aboutsummaryrefslogtreecommitdiff
path: root/src/version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.cpp')
-rw-r--r--src/version.cpp32
1 files changed, 20 insertions, 12 deletions
diff --git a/src/version.cpp b/src/version.cpp
index 241228a6a..0c36c0677 100644
--- a/src/version.cpp
+++ b/src/version.cpp
@@ -21,25 +21,33 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "config.h"
#if USE_CMAKE_CONFIG_H
- #include "cmake_config_githash.h"
+#include "cmake_config_githash.h"
#endif
#ifndef VERSION_GITHASH
- #define VERSION_GITHASH VERSION_STRING
+#define VERSION_GITHASH VERSION_STRING
#endif
const char *g_version_string = VERSION_STRING;
const char *g_version_hash = VERSION_GITHASH;
const char *g_build_info =
- "BUILD_TYPE=" BUILD_TYPE "\n"
- "RUN_IN_PLACE=" STR(RUN_IN_PLACE) "\n"
- "USE_GETTEXT=" STR(USE_GETTEXT) "\n"
- "USE_SOUND=" STR(USE_SOUND) "\n"
- "USE_CURL=" STR(USE_CURL) "\n"
- "USE_FREETYPE=" STR(USE_FREETYPE) "\n"
- "USE_LUAJIT=" STR(USE_LUAJIT) "\n"
- "STATIC_SHAREDIR=" STR(STATIC_SHAREDIR)
+ "BUILD_TYPE=" BUILD_TYPE "\n"
+ "RUN_IN_PLACE=" STR(
+ RUN_IN_PLACE) "\n"
+ "USE_GETTEXT=" STR(USE_GETTEXT) "\n"
+ "USE_"
+ "SOUND"
+ "=" STR(USE_SOUND) "\n"
+ "USE_CURL=" STR(USE_CURL) "\n"
+ "USE_FREETYPE=" STR(
+ USE_FREETYPE) "\n"
+ "USE_LUAJIT=" STR(
+ USE_LUAJIT) "\n"
+ "STATIC_SHAREDIR=" STR(
+ STATIC_SHAREDIR)
#if USE_GETTEXT && defined(STATIC_LOCALEDIR)
- "\n" "STATIC_LOCALEDIR=" STR(STATIC_LOCALEDIR)
+ "\n"
+ "STATIC_LOCALEDIR=" STR(
+ STATIC_LOCALEDIR)
#endif
-;
+ ;