ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/utils/Revision.cpp.in
Revision: 1976
Committed: Wed Mar 12 20:01:15 2014 UTC (11 years, 1 month ago) by gezelter
File size: 231 byte(s)
Log Message:
Revision string moves to its own cpp file that is compiled, and out of a 
defined string.  This will make it a bit easier to migrate to git when 
the time comes.

File Contents

# Content
1 #define SVN_REV "@Project_WC_REVISION@"
2 #define GIT_SHA1 "@GIT_SHA1@"
3
4 #include "utils/Revision.hpp"
5
6 extern "C" {
7 const char g_REVISION[] = SVN_REV;
8
9 /* for when we convert to git: */
10 /* const char g_REVISION[] = GIT_SHA1; */
11 }