Quellcode durchsuchen

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 vor 9 Jahren
Ursprung
Commit
34c7d45879
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4
    0
      Marlin/language.h

+ 4
- 0
Marlin/language.h Datei anzeigen

@@ -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
 

Laden…
Abbrechen
Speichern