sphinxversion.cpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // Copyright (c) 2019-2020, Manticore Software LTD (http://manticoresearch.com)
  3. // All rights reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of the GNU General Public License. You should have
  7. // received a copy of the GPL license along with this program; if you
  8. // did not, you can find it at http://www.gnu.org/
  9. //
  10. #ifdef BUILD_WITH_CMAKE
  11. #include "gen_sphinxversion.h"
  12. #else
  13. #include "sphinxversion.h"
  14. #endif
  15. #ifdef BUILD_WITH_CMAKE
  16. #include "gen_sphinxversion.h"
  17. #else
  18. #include "sphinxversion.h"
  19. #endif
  20. #ifndef SPHINX_TAG
  21. #define BANNER_TAG "dev"
  22. #else
  23. #define BANNER_TAG SPHINX_TAG
  24. #endif
  25. #ifndef GIT_TIMESTAMP_ID
  26. #define GIT_TIMESTAMP_ID "000101"
  27. #endif
  28. // this line is deprecated and no more used. Leaved here for a while.
  29. // numbers now to be defined via sphinxversion.h
  30. #ifndef VERNUMBERS
  31. #define VERNUMBERS "7.7.7"
  32. #endif
  33. #define PRODUCT_VERSION VERNUMBERS " " SPH_GIT_COMMIT_ID "@" GIT_TIMESTAMP_ID " " BANNER_TAG
  34. #define PRODUCT_NAME "Manticore " PRODUCT_VERSION
  35. #define PRODUCT_BANNER PRODUCT_NAME "\nCopyright (c) 2001-2016, Andrew Aksyonoff\n" \
  36. "Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n" \
  37. "Copyright (c) 2017-2020, Manticore Software LTD (http://manticoresearch.com)\n\n"
  38. const char * szMANTICORE_VERSION = PRODUCT_VERSION;
  39. const char * szMANTICORE_NAME = PRODUCT_NAME;
  40. const char * szMANTICORE_BANNER = PRODUCT_BANNER;
  41. const char * szGIT_COMMIT_ID = SPH_GIT_COMMIT_ID;
  42. const char * szGIT_BRANCH_ID = GIT_BRANCH_ID;
  43. const char * szGDB_SOURCE_DIR = GDB_SOURCE_DIR;