1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 07:12:34 +02:00
Leland Lucius f14a3dd90f Don't need to show the command any longer
Seems to be working just fine after several pulls
so don't need to see it anymore.
2020-03-11 23:50:32 -05:00

16 lines
417 B
CMake

# Executed during build (NOT configuration) to create/update the
# RevisionIdent.h header. It will only update it if there was
# a change in git.
execute_process(
COMMAND
${GIT} show -s "--format=#define REV_LONG \"%H\"%n#define REV_TIME \"%cd\"%n"
OUTPUT_FILE
RevisionIdent.h.in
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET
)
configure_file( RevisionIdent.h.in RevisionIdent.h COPYONLY )