summaryrefslogtreecommitdiff
path: root/src/cmake_config.h.in
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-23 14:01:14 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-24 04:24:25 +0200
commit0ac2ce7dea133fd0b71a12ca3c2f3ce463d48440 (patch)
treec356b92dee53a90615ed403bd1c702c887b98b6f /src/cmake_config.h.in
parentc301e3c82af4ad384f4baaa8244b3a5f26da5213 (diff)
downloadminetest-0ac2ce7dea133fd0b71a12ca3c2f3ce463d48440.tar.gz
minetest-0ac2ce7dea133fd0b71a12ca3c2f3ce463d48440.tar.bz2
minetest-0ac2ce7dea133fd0b71a12ca3c2f3ce463d48440.zip
Update/fix/improve config.h and cmake_config.h.in
Diffstat (limited to 'src/cmake_config.h.in')
-rw-r--r--src/cmake_config.h.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/cmake_config.h.in b/src/cmake_config.h.in
index 7cbb11f6b..2205e14a2 100644
--- a/src/cmake_config.h.in
+++ b/src/cmake_config.h.in
@@ -3,16 +3,17 @@
#ifndef CMAKE_CONFIG_H
#define CMAKE_CONFIG_H
-#define PROJECT_NAME "@PROJECT_NAME@"
-#define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
-#define VERSION_STRING "@VERSION_STRING@"
-#define USE_GETTEXT @USE_GETTEXT@
+#define CMAKE_PROJECT_NAME "@PROJECT_NAME@"
+#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
+#define CMAKE_VERSION_STRING "@VERSION_STRING@"
#ifdef NDEBUG
- #define BUILD_TYPE "Release"
+ #define CMAKE_BUILD_TYPE "Release"
#else
- #define BUILD_TYPE "Debug"
+ #define CMAKE_BUILD_TYPE "Debug"
#endif
-#define BUILD_INFO "VER="VERSION_STRING" RUN_IN_PLACE=@RUN_IN_PLACE@ USE_GETTEXT=@USE_GETTEXT@ INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@ BUILD_TYPE="BUILD_TYPE
+#define CMAKE_USE_GETTEXT @USE_GETTEXT@
+#define CMAKE_USE_AUDIO @USE_AUDIO@
+#define CMAKE_BUILD_INFO "VER=@VERSION_STRING@ BUILD_TYPE="CMAKE_BUILD_TYPE" RUN_IN_PLACE=@RUN_IN_PLACE@ USE_GETTEXT=@USE_GETTEXT@ USE_AUDIO=@USE_AUDIO@ INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@"
#endif