versionskram
This commit is contained in:
parent
12d677afdb
commit
cf11ce691a
|
@ -0,0 +1,21 @@
|
|||
#include "segl.h"
|
||||
|
||||
namespace segl {
|
||||
|
||||
std::string getVersion() {
|
||||
return (std::string)VERSION;
|
||||
}
|
||||
|
||||
std::string getFullVersion() {
|
||||
return "libsegl " VERSION ": Compiled on " __DATE__ " at " __TIME__;
|
||||
}
|
||||
|
||||
void printVersion() {
|
||||
std::cout << getVersion() << std::endl;
|
||||
}
|
||||
|
||||
void printFullVersion() {
|
||||
std::cout << getFullVersion() << std::endl;
|
||||
}
|
||||
|
||||
} // namespace segl
|
Loading…
Reference in New Issue