You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
486 B
21 lines
486 B
/* Plip.cpp |
|
* |
|
* The main class for controlling the Plip emulation suite. |
|
*/ |
|
|
|
#include "Plip.h" |
|
#include "PlipVersion.h" |
|
|
|
namespace Plip { |
|
std::string Plip::GetVersion() { |
|
#ifndef GIT_FOUND |
|
return PRODUCT_NAME; |
|
#else |
|
#ifndef GIT_TAG |
|
return PRODUCT_NAME " (" GIT_BRANCH "@" GIT_REVISION ")"; |
|
#else |
|
return PRODUCT_NAME " " GIT_TAG; |
|
#endif // GIT_TAG |
|
#endif // GIT_FOUND |
|
} |
|
}
|
|
|