aboutsummaryrefslogtreecommitdiff
path: root/base/internal_revision.h.in
diff options
context:
space:
mode:
authorLittleboy2011-04-24 12:34:57 -0400
committerLittleboy2011-04-24 16:59:46 -0400
commit11b907ebf45f5a0707c2748b8f7413b2910976a8 (patch)
treea85b869ce6eb2495001f75a0c6cd198d0e2ed842 /base/internal_revision.h.in
parent4f708b021269c67da42177df8170a86d073c6e49 (diff)
downloadscummvm-rg350-11b907ebf45f5a0707c2748b8f7413b2910976a8.tar.gz
scummvm-rg350-11b907ebf45f5a0707c2748b8f7413b2910976a8.tar.bz2
scummvm-rg350-11b907ebf45f5a0707c2748b8f7413b2910976a8.zip
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)
Diffstat (limited to 'base/internal_revision.h.in')
-rw-r--r--base/internal_revision.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/internal_revision.h.in b/base/internal_revision.h.in
new file mode 100644
index 0000000000..63f58a4b77
--- /dev/null
+++ b/base/internal_revision.h.in
@@ -0,0 +1,6 @@
+#ifndef SCUMMVM_INTERNAL_REVISION_H
+#define SCUMMVM_INTERNAL_REVISION_H
+
+#define SCUMMVM_REVISION "@REVISION@"
+
+#endif