Skip to content
Snippets Groups Projects
Commit 90f0586c authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

include compilation date as an example for embedding info, that is not a define

parent c371ce10
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@
/lmp_*
/style_*.h
/lmpcompiledate.h
/*_gpu.h
/*_gpu.cpp
......
......@@ -16,6 +16,8 @@ style_region.h
style_neigh_bin.h
style_neigh_pair.h
style_neigh_stencil.h
# other auto-generated files
lmpcompiledate.h
# deleted on 4 April 2018
pair_kim_version.h
# deleted on 15 December 2017
......
......@@ -978,8 +978,6 @@ void print_style(FILE *fp, const char *str, int &pos)
}
}
#include "lmpcompiledate.h"
static const char lammps_config_options[]
= "LAMMPS compile time settings:\n\n"
"Integer sizes setting: "
......@@ -1036,8 +1034,10 @@ static const char lammps_config_options[]
#endif
"\n";
#include "lmpcompiledate.h"
void LAMMPS::print_config(FILE *fp)
{
fprintf(fp,"LAMMPS compiled on: %s\n\n",lammps_compile_date);
fputs(lammps_config_options,fp);
fprintf(fp,"LAMMPS compiled on: %s\n",lammps_compile_date);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment