26 #include "grins/grins_version.h"
33 std::cout <<
"--------------------------------------------------------" << std::endl;
34 std::cout <<
"GRINS Package: Version = " << GRINS_LIB_VERSION;
37 std::cout << GRINS_LIB_RELEASE << std::endl << std::endl;
39 std::cout <<
"Build Date = " << GRINS_BUILD_DATE << std::endl;
40 std::cout <<
"Build Host = " << GRINS_BUILD_HOST << std::endl;
41 std::cout <<
"Build User = " << GRINS_BUILD_USER << std::endl;
42 std::cout <<
"Build Arch = " << GRINS_BUILD_ARCH << std::endl;
43 std::cout <<
"Build Rev = " << GRINS_BUILD_VERSION << std::endl << std::endl;
45 std::cout <<
"C++ Config = " << GRINS_CXX <<
" " << GRINS_CXXFLAGS << std::endl;
46 std::cout <<
"--------------------------------------------------------" << std::endl;
64 int major_version = 0;
65 int minor_version = 0;
66 int micro_version = 0;
68 #ifdef GRINS_MAJOR_VERSION
69 major_version = GRINS_MAJOR_VERSION;
72 #ifdef GRINS_MINOR_VERSION
73 minor_version = GRINS_MINOR_VERSION;
76 #ifdef GRINS_MICRO_VERSION
77 micro_version = GRINS_MICRO_VERSION;
80 return major_version*10000 + minor_version*100 + micro_version;
void grins_version_stdout()