mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-30 05:43:51 +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:
12
lib/FirmwareVersion/include/FirmwareVersion.h
Normal file
12
lib/FirmwareVersion/include/FirmwareVersion.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _FIRMWARE_VERSION_h
|
||||
#define _FIRMWARE_VERSION_h
|
||||
|
||||
|
||||
class FirmwareVersion {
|
||||
public:
|
||||
static long BuildEpoch;
|
||||
static const char* VersionString;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user