File: Version.cpp.in

package info (click to toggle)
freeorion 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 194,940 kB
  • sloc: cpp: 186,508; python: 40,969; ansic: 1,164; xml: 719; makefile: 32; sh: 7
file content (16 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "Version.h"

//! @file
//!     Implement a free function to access the application version.
//!
//! @warning
//!     DON'T EDIT MANUALLY Version.cpp.  @e Version.cpp is generated from
//!     @e Version.cpp.in by the @e cmake/make_versioncpp.py utility script
//!     that is used or should be used by all build systems.

namespace {
    static const std::string retval = "v${FreeOrion_VERSION} ${FreeOrion_BRANCH}[build ${FreeOrion_BUILD_NO}] ${FreeOrion_BUILDSYS}";
}

const std::string& FreeOrionVersionString()
{ return retval; }