mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-16 16:47:15 +00:00
Speeds up the build by moving those constants into a separate compile-unit. Currently, since the version header is auto regenerated on each build, all modules that include it, also have to be recompiled every time.
6 lines
170 B
C++
6 lines
170 B
C++
#include "FirmwareVersion.h"
|
|
#include "generated_version.h"
|
|
|
|
long FirmwareVersion::BuildEpoch = BUILD_EPOCH;
|
|
const char* FirmwareVersion::VersionString = VERSION_STRING;
|