Ticket #9137: TOOLS - Add revision template file.patch

File TOOLS - Add revision template file.patch, 616 bytes (added by Templier, 9 years ago)

3 - Add revision template file

  • new file ase/internal_version.h.tpl

    # HG changeset patch
    # Parent e3c1967cec63b2319ce77a21d36e0333fe292de1
    TOOLS: Add revision template file
    
    diff -r e3c1967cec63 base/internal_version.h.tpl
    - +  
     1#ifndef INCLUDED_FROM_BASE_VERSION_CPP
     2#error This file may only be included by base/version.cpp
     3#endif
     4
     5#ifndef SCUMMVM_SVN_REVISION
     6#define SCUMMVM_SVN_REVISION "$WCREV$"
     7#endif
     8
     9#ifdef RELEASE_BUILD
     10#undef SCUMMVM_SVN_REVISION
     11#define SCUMMVM_SVN_REVISION
     12#endif
     13
     14#define SCUMMVM_VERSION "svn r" SCUMMVM_SVN_REVISION