PandaVersion.pp 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // This file defines the current version number for Panda. It is read
  2. // by Package.pp, which puts it in the global namespace for all
  3. // ppremake scripts for Panda.
  4. // Use spaces to separate the major, minor, and sequence numbers here.
  5. #define PANDA_VERSION 1 10 0
  6. // This variable will be defined to false in the CVS repository, but
  7. // scripts that generate source tarballs and/or binary releases for
  8. // distribution, by checking out Panda from an official CVS tag,
  9. // should explictly set this to true. When false, it indicates that
  10. // the current version of Panda was checked out from CVS, so it may
  11. // not be a complete representation of the indicated version.
  12. #define PANDA_OFFICIAL_VERSION
  13. // This string is reported verbatim by PandaSystem::get_distributor().
  14. // It should be set by whoever provides a particular distribution of
  15. // Panda. If you build your own Panda, leave this unchanged.
  16. #define PANDA_DISTRIBUTOR homebuilt
  17. // This string is used to describe the Panda3D "package" associated
  18. // with this current build of Panda. It should increment with major
  19. // and minor version changes, but not sequence (or "bugfix") changes.
  20. // It should be unique for each unique distributor. The default is
  21. // the empty string, which means this build does not precisely match
  22. // any distributable Panda3D packages. If you are making a Panda3D
  23. // build which you will be using to produce a distributable Panda3D
  24. // package, you should set this string appropriately.
  25. #define PANDA_PACKAGE_VERSION
  26. // We also define a version for the Panda3D plugin/runtime,
  27. // i.e. nppanda3d.dll, p3dactivex.ocx, and panda3d.exe. This is an
  28. // independent version number from PANDA_VERSION or
  29. // PANDA_PACKAGE_VERSION, because it is anticipated that this plugin
  30. // code, once settled, will need to be updated much less frequently
  31. // than Panda itself.
  32. #define P3D_PLUGIN_VERSION 1 0 4
  33. // Finally, there's a separate version number for the Core API. At
  34. // first, we didn't believe we needed a Core API version number, but
  35. // in this belief we were naive. This version number is a little less
  36. // strict in its format requirements than P3D_PLUGIN_VERSION, above,
  37. // and it doesn't necessarily consist of a specific number of
  38. // integers, but by convention it will consist of four integers, with
  39. // the first three matching the plugin version, and the fourth integer
  40. // being incremented with each new Core API revision.
  41. #define P3D_COREAPI_VERSION $[P3D_PLUGIN_VERSION] 2