22 lines
361 B
C++
22 lines
361 B
C++
#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
|