mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-03 15:32:37 +00:00
Move version constants into its own compile-unit
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.
This commit is contained in:
5
lib/FirmwareVersion/src/FirmwareVersion.cpp
Normal file
5
lib/FirmwareVersion/src/FirmwareVersion.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "FirmwareVersion.h"
|
||||
#include "generated_version.h"
|
||||
|
||||
long FirmwareVersion::BuildEpoch = BUILD_EPOCH;
|
||||
const char* FirmwareVersion::VersionString = VERSION_STRING;
|
||||
Reference in New Issue
Block a user