Cppcheck
version.h
Go to the documentation of this file.
1 // For a release version x.y.z the MAJOR should be x and both MINOR and DEVMINOR should be y.
2 // After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1
3 
4 #ifndef versionH
5 #define versionH
6 
7 #define CPPCHECK_MAJOR_VERSION 2
8 #define CPPCHECK_MINOR_VERSION 14
9 #define CPPCHECK_DEVMINOR_VERSION 15
10 #define CPPCHECK_BUGFIX_VERSION 99
11 
12 #define STRINGIFY(x) STRING(x)
13 #define STRING(VER) #VER
14 #if CPPCHECK_BUGFIX_VERSION < 99
15 #define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR_VERSION) "." STRINGIFY(CPPCHECK_MINOR_VERSION) "." STRINGIFY(CPPCHECK_BUGFIX_VERSION)
16 #define CPPCHECK_VERSION CPPCHECK_MAJOR_VERSION,CPPCHECK_MINOR_VERSION,CPPCHECK_BUGFIX_VERSION,0
17 #else
18 #define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR_VERSION) "." STRINGIFY(CPPCHECK_DEVMINOR_VERSION) " dev"
19 #define CPPCHECK_VERSION CPPCHECK_MAJOR_VERSION,CPPCHECK_MINOR_VERSION,99,0
20 #endif
21 #define LEGALCOPYRIGHT L"Copyright (C) 2007-2024 Cppcheck team."
22 
23 #endif