mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-10 17:37:45 +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:
parent
c11e3d1511
commit
272d3026e2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user