when compiling LAMMPS in a git checkout, embed and print git branch and revision info into the executable

This commit is contained in:
Axel Kohlmeyer
2019-03-05 08:35:53 -05:00
parent bc4a80d9e8
commit 1e573bd557
6 changed files with 60 additions and 6 deletions

View File

@ -64,6 +64,7 @@ class LAMMPS {
class CiteMe *citeme; // citation info
static const char * installed_packages[];
static const char git_version[];
LAMMPS(int, char **, MPI_Comm);
~LAMMPS();