scummvm/base/internal_version.h.in
Littleboy 11b907ebf4 CREATE_PROJECT: Update revision number support (fixes bug #3280881)
Replace existing environment variable based revision number support by a file-based method
 - Generate a special header file in the build output folder with the current revision number
 - Include the new header file from internal_version.h when a specific define is set
 - Update create_project to define SCUMMVM_INTERNAL_REVISION as needed and add the build output folder to the include path
 - Remove support for git-svn clones in the revision script (not useful anymore after the switch to git)
2011-04-24 16:59:46 -04:00

20 lines
427 B
C

#ifndef INCLUDED_FROM_BASE_VERSION_CPP
#error This file may only be included by base/version.cpp
#endif
// Reads revision number from file
// (this is used when building with Visual Studio)
#ifdef SCUMMVM_INTERNAL_REVISION
#include "internal_revision.h"
#endif
#ifdef RELEASE_BUILD
#undef SCUMMVM_REVISION
#endif
#ifndef SCUMMVM_REVISION
#define SCUMMVM_REVISION
#endif
#define SCUMMVM_VERSION "@VERSION@" SCUMMVM_REVISION