Micro template library A library for building device drivers
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.
 
 
 
 

41 lines
1.3 KiB

  1. /*!
  2. * \file /utl/impl/version.h
  3. * \brief version and cpp version check
  4. *
  5. * Copyright (C) 2018 Christos Choutouridis
  6. *
  7. * This program is free software: you can redistribute it and/or modify
  8. * it under the terms of the GNU Lesser General Public License as
  9. * published by the Free Software Foundation, either version 3
  10. * of the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public License
  18. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. *
  20. */
  21. #ifndef __utl_impl_version_h__
  22. #define __utl_impl_version_h__
  23. //!\defgroup version version
  24. //! Definitions of the utl version
  25. //!\ingroup impl
  26. #define UTL_VERSION "0.0.0"
  27. #define UTL_VERSION_MAJOR 0
  28. #define UTL_VERSION_MINOR 0
  29. #define UTL_VERSION_PATCH 0
  30. #define UTL_VERSION_VALUE ( (UTL_VERSION_MAJOR * 10000) \
  31. + (UTL_VERSION_MINOR * 100) \
  32. + UTL_VERSION_PATCH)
  33. #if __cplusplus < 201103L
  34. #error "uTL requires C++11"
  35. #endif
  36. #endif /* __utl_impl_version_h__ */