Browse Source

Hook for Auto-generated Build Version

The automatic versioning system extracts a
build version number from the SCM system

That versioning information is written to the file
_Version.h, a file that is NOT preserved in the SCM.

If such a file will be present,
we include it here to utilize the parameters
that are defined therein.
Richard Wackerbarth 9 years ago
parent
commit
34c7d45879
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/language.h

+ 4
- 0
Marlin/language.h View File

@@ -36,6 +36,10 @@
36 36
   #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
37 37
 #endif
38 38
 
39
+#ifdef HAS_AUTOMATIC_VERSIONING
40
+  #include "_Version.h"
41
+#endif
42
+
39 43
 #define PROTOCOL_VERSION "1.0"
40 44
 #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
41 45
 

Loading…
Cancel
Save