PandaVersion.pp 2.6 KB

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