mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
Ease CMake and legacy build coexistence
Cliff noticed that the CMake git ident was not being updated when pulling new changes. This was because it was getting captured at configuration time and, even if you pull more changes, the CMake configuration may not be redone automatically if the build files weren't also changed. So, this adds a new target to get the information at build time instead.
This commit is contained in:
@@ -53,12 +53,16 @@ hold information about one contributor to Audacity.
|
||||
#else
|
||||
#include "../images/AudacityLogoWithName.xpm"
|
||||
#endif
|
||||
#include "RevisionIdent.h"
|
||||
|
||||
// Notice this is a "system include". This is on purpose and only until
|
||||
// we convert over to CMake. Once converted, the "RevisionIndent.h" file
|
||||
// should be deleted and this can be changed back to a user include if
|
||||
// desired.
|
||||
//
|
||||
// RevisionIdent.h may contain #defines like these ones:
|
||||
//#define REV_LONG "28864acb238cb3ca71dda190a2d93242591dd80e"
|
||||
//#define REV_TIME "Sun Apr 12 12:40:22 2015 +0100"
|
||||
|
||||
#include <RevisionIdent.h>
|
||||
|
||||
#ifndef REV_TIME
|
||||
#define REV_TIME "unknown date and time"
|
||||
|
||||
Reference in New Issue
Block a user