2
0

version.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except
  4. in compliance with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2016
  6. All rights reserved.
  7. */
  8. #if !defined(__VERSION_H__)
  9. #define __VERSION_H__
  10. #include "build_version.h"
  11. #ifdef _UNICODE
  12. #define _T(x) L ## x
  13. #else
  14. #define _T(x) x
  15. #endif
  16. #define STRINGIZE2(s) _T(#s)
  17. #define STRINGIZE(s) STRINGIZE2(s)
  18. #define VER_FILE_DESCRIPTION_STR _T(PRODUCT_STRING)
  19. #define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
  20. _T(".") STRINGIZE(VERSION_MINOR)
  21. // Version Information
  22. #define SW_VER_PPP "ALU"
  23. #define SW_VER_NUM VER_FILE_VERSION_STR
  24. #if !defined(EXT_FUNCTIONALITY)
  25. #define SW_VER_DEV "00"
  26. #define SW_VER_SUFFIX ""
  27. #else
  28. #define SW_VER_DEV "0001" //Add two digits which are the ext lib version of the corresponding non-extended version
  29. #define SW_VER_SUFFIX "_BAXEXT"
  30. #endif
  31. #define SW_VER SW_VER_PPP SW_VER_NUM SW_VER_DEV SW_VER_SUFFIX
  32. #define SW_DESCR ""
  33. #endif // !defined(CONFIG_H)