2
0

switch_version.inc.template 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
  3. * Copyright (C) 2005/2012, Anthony Minessale II <anthm@freeswitch.org>
  4. *
  5. * Version: MPL 1.1
  6. *
  7. * The contents of this file are subject to the Mozilla Public License Version
  8. * 1.1 (the "License"); you may not use this file except in compliance with
  9. * the License. You may obtain a copy of the License at
  10. * http://www.mozilla.org/MPL/
  11. *
  12. * Software distributed under the License is distributed on an "AS IS" basis,
  13. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14. * for the specific language governing rights and limitations under the
  15. * License.
  16. *
  17. * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
  18. *
  19. * The Initial Developer of the Original Code is
  20. * Anthony Minessale II <anthm@freeswitch.org>
  21. * Portions created by the Initial Developer are Copyright (C)
  22. * the Initial Developer. All Rights Reserved.
  23. *
  24. * Contributor(s):
  25. *
  26. * Anthony Minessale II <anthm@freeswitch.org>
  27. * Michael Jerris <mike@jerris.com>
  28. * Garmt Boekholt <garmt@cimico.com>
  29. *
  30. * switch_version.inc --
  31. *
  32. * This file is generated by switch_version.inc.template. This will end up in a VERSIONINFO resource
  33. * so that you can use/show/present version information in freeswitch.dll, the freeswitch consoles and freeswitch.msi installers
  34. *
  35. * Note: VS20XX/Windows doesn't agree with version numbering like "1.1.1x" and will strip the x off. "1.1.1x => "1.1.1.0"
  36. *
  37. */
  38. #define TOSTR(x) #x
  39. #define STR(x) TOSTR(x)
  40. #define SWITCH_VERSION_MAJOR @SWITCH_VERSION_MAJOR@
  41. #define SWITCH_VERSION_MAJOR_STR STR(SWITCH_VERSION_MAJOR)
  42. #define SWITCH_VERSION_MINOR @SWITCH_VERSION_MINOR@
  43. #define SWITCH_VERSION_MINOR_STR STR(SWITCH_VERSION_MINOR)
  44. #define SWITCH_VERSION_MICRO @SWITCH_VERSION_MICRO@
  45. #define SWITCH_VERSION_MICRO_STR STR(SWITCH_VERSION_MICRO)
  46. #define SWITCH_VERSION_REVISION "@SWITCH_VERSION_REVISION@"
  47. #define SWITCH_VERSION_REVISION_HUMAN "@SWITCH_VERSION_REVISION_HUMAN@"
  48. #define SWITCH_VERSION_YEAR "@SWITCH_VERSION_YEAR@"
  49. #define SWITCH_VERSION_ALL "@SWITCH_VERSION_MAJOR@.@SWITCH_VERSION_MINOR@.@SWITCH_VERSION_MICRO@"