You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.cpp 542 B

2 years ago
1234567891011121314151617181920212223242526272829
  1. /**
  2. * @file version.cpp
  3. * @author donkey (anjingyu_ws@foxmail.com)
  4. * @brief Implementation of \c ns::geo::version()
  5. * @version 0.1.0
  6. * @date 2020-05-15
  7. *
  8. * @copyright Copyright (c) 2020- donkey <anjingyu_ws@foxmail.com>.
  9. *
  10. */
  11. #include "geo/version.h"
  12. namespace ns {
  13. namespace geo {
  14. std::string version()
  15. {
  16. static const std::string VersionString = "UNKNOWN";
  17. #if defined(DEBUG)
  18. return VersionString + " Debug";
  19. #else /* !DEBUG */
  20. return VersionString;
  21. #endif /* DEBUG */
  22. }
  23. } // namespace geo
  24. } // namespace ns