# | Line 50 | Line 50 | |
---|---|---|
50 | #include <locale> | |
51 | #include "utils/simError.h" | |
52 | #include "utils/CaseConversion.hpp" | |
53 | + | #include "utils/Revision.hpp" |
54 | #include "brains/Register.hpp" | |
55 | #include "brains/SimCreator.hpp" | |
56 | #include "brains/SimInfo.hpp" | |
# | Line 78 | Line 79 | int main(int argc, char* argv[]){ | |
79 | initSimError(); // the error handler | |
80 | //srand48( 1337 ); // the random number generator. | |
81 | ||
82 | < | std::string svnrev; |
82 | > | std::string svnrev(g_REVISION, strnlen(g_REVISION, 20)); |
83 | //convert a macro from compiler to a string in c++ | |
84 | < | STR_DEFINE(svnrev, SVN_REV ); |
84 | > | //STR_DEFINE(svnrev, SVN_REV ); |
85 | ||
86 | std::string revision; | |
87 | ||
# | Line 99 | Line 100 | int main(int argc, char* argv[]){ | |
100 | " | / __ \\____ ___ ____ / |/ // __ \\ The Open Molecular Dynamics |\n"<< | |
101 | " | / / / / __ \\/ _ \\/ __ \\ / /|_/ // / / / Engine (formerly OOPSE). |\n"<< | |
102 | " | / /_/ / /_/ / __/ / / // / / // /_/ / |\n"<< | |
103 | < | " | \\____/ .___/\\___/_/ /_//_/ /_//_____/ Copyright 2004-2013 by the |\n"<< |
103 | > | " | \\____/ .___/\\___/_/ /_//_/ /_//_____/ Copyright 2004-2014 by the |\n"<< |
104 | " | /_/ University of Notre Dame. |\n"<< | |
105 | " | |\n"<< | |
106 | " | version " << |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |