2023-07-02 18:13:28 +02:00
|
|
|
// For a release version x.y.z the MAJOR should be x and both MINOR and DEVMINOR should be y.
|
2020-05-26 23:29:12 +02:00
|
|
|
// After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1
|
|
|
|
|
2023-11-06 15:31:47 +01:00
|
|
|
#ifndef versionH
|
|
|
|
#define versionH
|
|
|
|
|
2023-07-02 18:13:28 +02:00
|
|
|
#define CPPCHECK_MAJOR_VERSION 2
|
2023-12-22 21:59:40 +01:00
|
|
|
#define CPPCHECK_MINOR_VERSION 13
|
2023-09-10 18:43:00 +02:00
|
|
|
#define CPPCHECK_DEVMINOR_VERSION 13
|
2023-07-02 18:13:28 +02:00
|
|
|
#define CPPCHECK_FIX_VERSION 0
|
2014-09-01 08:47:46 +02:00
|
|
|
|
2014-09-04 21:18:15 +02:00
|
|
|
#define STRINGIFY(x) STRING(x)
|
|
|
|
#define STRING(VER) #VER
|
2023-07-02 18:13:28 +02:00
|
|
|
#if CPPCHECK_MINOR_VERSION == CPPCHECK_DEVMINOR_VERSION
|
|
|
|
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR_VERSION) "." STRINGIFY(CPPCHECK_MINOR_VERSION) "." STRINGIFY(CPPCHECK_FIX_VERSION)
|
|
|
|
#define CPPCHECK_VERSION CPPCHECK_MAJOR_VERSION,CPPCHECK_MINOR_VERSION,CPPCHECK_FIX_VERSION,0
|
2014-09-01 08:47:46 +02:00
|
|
|
#else
|
2023-07-02 18:13:28 +02:00
|
|
|
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR_VERSION) "." STRINGIFY(CPPCHECK_DEVMINOR_VERSION) " dev"
|
|
|
|
#define CPPCHECK_VERSION CPPCHECK_MAJOR_VERSION,CPPCHECK_MINOR_VERSION,99,0
|
2014-09-01 08:47:46 +02:00
|
|
|
#endif
|
2023-01-28 10:16:34 +01:00
|
|
|
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2023 Cppcheck team."
|
2023-11-06 15:31:47 +01:00
|
|
|
|
|
|
|
#endif
|