Fix project name for versioning
This commit is contained in:
parent
06c81c5d57
commit
9dc0315dd1
@ -3,9 +3,9 @@
|
|||||||
#include "commit.inc"
|
#include "commit.inc"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
std::string {PROJECT}_version() {
|
std::string screensaver_version() {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << "{PROJECT} version " << version;
|
oss << "screensaver version " << version;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
oss << " DEBUG";
|
oss << " DEBUG";
|
||||||
#endif
|
#endif
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
std::string {PROJECT}_version();
|
std::string screensaver_version();
|
||||||
|
|
||||||
#endif // VERSION_H_
|
#endif // VERSION_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user