mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
6eeea4a305b1081fb91e32ef9f2473fb25b1538b
Use gcc macros for __TIME__ and __DATE__ to compute build date. This has the advantage that we don't have to shell out to find the date, though it has the disadvantage that it doesn't give us any control over format, nor does it report the time zone. By default, set GC_VERSION to "(developer build)". For release versions, specify GC_VERSION explicitly in gcconfig.pri like this: QMAKE_CXXFLAGS += -DGC_VERSION="'\"1.2.0\"'" It would be nice to specify the git commit id in developer builds. On the other hand, the developer could always have uncommitted changes, so the git commit id doesn't really make for a completely reproducible build. It's also a pain to get ahold of in Windows.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%