Build configuration fixes/improvements on Windows
[oweals/minetest.git] / src / cmake_config.h.in
index 5e375191fb6af08cdaa0c2a86a5248c6aa02752f..054cca16512634f2bfede066c3982057970a5e2b 100644 (file)
@@ -3,14 +3,17 @@
 #ifndef CMAKE_CONFIG_H
 #define CMAKE_CONFIG_H
 
-#define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
-#define VERSION_STRING "@VERSION_STRING@"
+#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@ INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@ BUILD_TYPE="BUILD_TYPE
+#define CMAKE_USE_GETTEXT @USE_GETTEXT@
+#define CMAKE_USE_SOUND @USE_SOUND@
+#define CMAKE_BUILD_INFO "VER=@VERSION_STRING@ BUILD_TYPE="CMAKE_BUILD_TYPE" RUN_IN_PLACE=@RUN_IN_PLACE@ USE_GETTEXT=@USE_GETTEXT@ USE_SOUND=@USE_SOUND@ INSTALL_PREFIX=@CMAKE_INSTALL_PREFIX@"
 
 #endif