src/SPERR/utilities/show_version.cpp
raw| 1 | #include "SperrConfig.h" |
| 2 | |
| 3 | #include <iostream> |
| 4 | |
| 5 | int main() |
| 6 | { |
| 7 | std::cout << "SPERR version: " << SPERR_VERSION_MAJOR << "." << SPERR_VERSION_MINOR << "." |
| 8 | << SPERR_VERSION_PATCH << std::endl; |
| 9 | std::cout << "Based on code Branch: " << SPERR_GIT_BRANCH << std::endl; |
| 10 | std::cout << "Based on code SHA1 : " << SPERR_GIT_SHA1 << std::endl; |
| 11 | std::cout << "C++ Standard Support: " << __cplusplus << std::endl; |
| 12 | } |