Browse Source
Having the version macro in the config.h and consequently in the main vehicle header means that whenever the version changes we need to compiler the whole vehicle again. This would not be so bad if we weren't also appending the git hash in the version. In this case, whenever we commit to the repository we would need to recompile everything. Move to a separate header that is include only by its users. Then instead of compiling everything we will compile just a few files.mission-4.1.18
Lucas De Marchi
9 years ago
6 changed files with 17 additions and 15 deletions
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
#pragma once |
||||
|
||||
#define THISFIRMWARE "AntennaTracker V0.7.6" |
||||
#define FIRMWARE_VERSION 0,7,6,FIRMWARE_VERSION_TYPE_DEV |
||||
|
||||
#ifndef GIT_VERSION |
||||
#define FIRMWARE_STRING THISFIRMWARE |
||||
#else |
||||
#define FIRMWARE_STRING THISFIRMWARE " (" GIT_VERSION ")" |
||||
#endif |
Loading…
Reference in new issue