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.

29 lines
641 B

16 years ago
16 years ago
16 years ago
16 years ago
16 years ago
  1. /* Date for kicad build version */
  2. #include "fctsys.h"
  3. #ifdef HAVE_SVN_VERSION
  4. #include "version.h" // define the KICAD_BUILD_VERSION
  5. #endif
  6. #ifndef KICAD_BUILD_VERSION
  7. #define KICAD_BUILD_VERSION "(2011-04-05)"
  8. #endif
  9. // uncomment this line only when creating a stable version
  10. //#define VERSION_STABILITY "stable"
  11. #ifndef VERSION_STABILITY
  12. #define VERSION_STABILITY "testing"
  13. #endif
  14. /**
  15. * Function GetBuildVersion
  16. * Return the build date and version
  17. */
  18. wxString GetBuildVersion()
  19. {
  20. static wxString msg;
  21. msg.Printf( wxT("%s-%s"),
  22. wxT( KICAD_BUILD_VERSION ), wxT( VERSION_STABILITY ));
  23. return msg;
  24. }