1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-10 09:27:43 +02:00

Can change "alpha" to "beta" in welcome screen if IS_ALPHA > 1...

... and don't add "x" and date when IS_ALPHA is turned off.
This commit is contained in:
Paul Licameli 2017-08-21 21:30:42 -04:00
parent c11e3d1511
commit 272d3026e2

View File

@ -33,9 +33,12 @@
#endif
// We only do alpha builds and release versions.
// We only do alpha builds, beta builds, and release versions.
// Most of the time we're in development, so IS_ALPHA should be defined
// to 1.
// Its value may be more than 1 for pre-release "Beta" builds that differ only in the
// welcome screen.
// Use "#if IS_ALPHA" not #ifdef
#define IS_ALPHA 1
// Increment as appropriate every time we release a NEW version.
@ -44,11 +47,13 @@
#define AUDACITY_REVISION 0
#define AUDACITY_MODLEVEL 0
#if IS_ALPHA
#if IS_ALPHA > 1
#define AUDACITY_SUFFIX wxT("-beta-") __TDATE__
#elif IS_ALPHA
#define AUDACITY_SUFFIX wxT("-alpha-") __TDATE__
#else
//#define AUDACITY_SUFFIX wxT("") // for a stable release
#define AUDACITY_SUFFIX wxT("x ") __TDATE__
#define AUDACITY_SUFFIX wxT("") // for a stable release
//#define AUDACITY_SUFFIX wxT("x ") __TDATE__
#endif
#define AUDACITY_MAKESTR( x ) #x