Commit Graph

10 Commits

Author SHA1 Message Date
Cameron Cawley
8c6f9e5116 WIN32: Retrieve the version information for the resource script from base/internal_version.h 2018-11-16 09:14:37 +00:00
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
Jordi Vilalta Prat
a422763833 BUILD: Remove explicit references to SVN in revision variable names.
svn-id: r55898
2011-02-12 16:43:57 +00:00
Johannes Schickel
0f26184f8d BUILD: Revert r53427.
create_project will now use a different approach than recreating
base/internal_version.h. This is also because recreating this file might
result in accidental commits of the modified file and thus "screw up" the
version string on different systems.

svn-id: r54383
2010-11-19 16:47:03 +00:00
Max Horn
043f2db0c7 BASE: Add SVN_REVISION placehold to internal_version.h.in
Our tools/update-version.pl script always keeps this empty.
But it will make integration of the create_project patch smoother.

svn-id: r53427
2010-10-13 15:00:28 +00:00
Max Horn
1b10444377 BUILD: Limit scope of SCUMMVM_SVN_REVISION and SCUMMVM_VERSION macros
Only #define SCUMMVM_SVN_REVISION for base/version.cpp (at most), to
avoid having all source files implicitly depend on the SVN revision.
Also add a safeguard to prevent code from accidentally using the
internal header file base/internal_version.h.

svn-id: r51978
2010-08-11 12:50:18 +00:00
Johannes Schickel
ff33acb132 Fix build with --enable-release.
svn-id: r50249
2010-06-24 22:55:24 +00:00
Johannes Schickel
d783ca972a Disable addition of "SCUMMVM_SVN_REVISION" to the version string, in case --enable-release was specified on configure run.
svn-id: r50246
2010-06-24 22:33:49 +00:00
Andre Heider
6e1b154484 Added the SVN revision to SCUMMVM_VERSION. The variable has be be set externally, e.g. 'make SCUMMVM_SVN_REVISION=x'
svn-id: r39431
2009-03-15 21:17:37 +00:00
Max Horn
7fddfa20c6 New tools/update-version.pl script (usage: CMD 1 2 3 CVS -> results in version 1.2.3CVS)
svn-id: r20165
2006-01-25 20:53:25 +00:00