Skip to content

Commit b01c926

Browse files
committed
2.4.1: Set version
1 parent d0afc4b commit b01c926

4 files changed

Lines changed: 11 additions & 13 deletions

File tree

cli/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
*
2222
* @mainpage Cppcheck
23-
* @version 2.4
23+
* @version 2.4.1
2424
*
2525
* @section overview_sec Overview
2626
* Cppcheck is a simple tool for static analysis of C/C++ code.

cmake/versions.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Version for libraries CPP
2-
SET(VERSION "2.4")
2+
SET(VERSION "2.4.1")
33
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
44
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
55
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
6-
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}")
6+
LIST(GET VERSION_PARTS 2 VERSION_DEVMINOR)
7+
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_DEVMINOR}")
78

89
# Postfix of so's:
910
SET(DLLVERSION "")

lib/version.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@
77

88
#define STRINGIFY(x) STRING(x)
99
#define STRING(VER) #VER
10-
#if CPPCHECK_MINOR == CPPCHECK_DEVMINOR
11-
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR)
12-
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0
13-
#else
14-
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev"
15-
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,99,0
16-
#endif
17-
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2020 Cppcheck team."
10+
11+
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_MINOR) ".1"
12+
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,1,0
13+
14+
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2021 Cppcheck team."

win_installer/productInfo.wxi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Include>
3-
<?define ProductName = "Cppcheck $(var.Platform) 2.4" ?>
3+
<?define ProductName = "Cppcheck $(var.Platform) 2.4.1" ?>
44
<?define ProductNameShort = "Cppcheck" ?>
5-
<?define ProductVersion = "2.4" ?>
5+
<?define ProductVersion = "2.4.1" ?>
66

77
<?define ProductManufacturer = "The Cppcheck team" ?>
88
<?define ProductDescription = "Cppcheck is a tool for static analysis of C/C++ code" ?>

0 commit comments

Comments
 (0)