Squish sanity check for build info

2.0.x
Scott Lahteine 9 years ago
parent 7a377c1d75
commit dbfc87cdcf

@ -56,35 +56,21 @@
* Marlin release, version and default string * Marlin release, version and default string
*/ */
#ifndef SHORT_BUILD_VERSION #ifndef SHORT_BUILD_VERSION
#error "SHORT_BUILD_VERSION Information must be specified" #error "SHORT_BUILD_VERSION must be specified."
#endif #elif !defined(DETAILED_BUILD_VERSION)
#error "BUILD_VERSION must be specified."
#ifndef DETAILED_BUILD_VERSION #elif !defined(STRING_DISTRIBUTION_DATE)
#error "BUILD_VERSION Information must be specified" #error "STRING_DISTRIBUTION_DATE must be specified."
#endif #elif !defined(PROTOCOL_VERSION)
#error "PROTOCOL_VERSION must be specified."
#ifndef STRING_DISTRIBUTION_DATE #elif !defined(MACHINE_NAME)
#error "STRING_DISTRIBUTION_DATE Information must be specified" #error "MACHINE_NAME must be specified."
#endif #elif !defined(SOURCE_CODE_URL)
#error "SOURCE_CODE_URL must be specified."
#ifndef PROTOCOL_VERSION #elif !defined(DEFAULT_MACHINE_UUID)
#error "PROTOCOL_VERSION Information must be specified" #error "DEFAULT_MACHINE_UUID must be specified."
#endif #elif !defined(WEBSITE_URL)
#error "WEBSITE_URL must be specified."
#ifndef MACHINE_NAME
#error "MACHINE_NAME Information must be specified"
#endif
#ifndef SOURCE_CODE_URL
#error "SOURCE_CODE_URL Information must be specified"
#endif
#ifndef DEFAULT_MACHINE_UUID
#error "DEFAULT_MACHINE_UUID Information must be specified"
#endif
#ifndef WEBSITE_URL
#error "WEBSITE_URL Information must be specified"
#endif #endif
/** /**

Loading…
Cancel
Save