2020-05-26 23:29:12 +02:00
|
|
|
// For a release version x.y the MAJOR should be x and both MINOR and DEVMINOR should be y.
|
|
|
|
// After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1
|
|
|
|
|
2020-05-10 11:28:31 +02:00
|
|
|
#define CPPCHECK_MAJOR 2
|
2021-09-26 12:09:02 +02:00
|
|
|
#define CPPCHECK_MINOR 6
|
2021-07-04 11:19:08 +02:00
|
|
|
#define CPPCHECK_DEVMINOR 6
|
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
|
2020-05-26 23:29:12 +02:00
|
|
|
#if CPPCHECK_MINOR == CPPCHECK_DEVMINOR
|
2021-10-21 14:57:17 +02:00
|
|
|
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) ".1"
|
|
|
|
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,1,0
|
2014-09-01 08:47:46 +02:00
|
|
|
#else
|
2020-05-26 23:29:12 +02:00
|
|
|
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev"
|
2014-09-01 08:47:46 +02:00
|
|
|
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,99,0
|
|
|
|
#endif
|
2021-07-04 08:08:51 +02:00
|
|
|
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2021 Cppcheck team."
|