2.4.1: Set version

This commit is contained in:
Daniel Marjamäki 2021-03-22 21:53:10 +01:00
parent d0afc4bf02
commit b01c9267f0
4 changed files with 11 additions and 13 deletions

View File

@ -20,7 +20,7 @@
/**
*
* @mainpage Cppcheck
* @version 2.4
* @version 2.4.1
*
* @section overview_sec Overview
* Cppcheck is a simple tool for static analysis of C/C++ code.

View File

@ -1,9 +1,10 @@
# Version for libraries CPP
SET(VERSION "2.4")
SET(VERSION "2.4.1")
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}")
LIST(GET VERSION_PARTS 2 VERSION_DEVMINOR)
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_DEVMINOR}")
# Postfix of so's:
SET(DLLVERSION "")

View File

@ -7,11 +7,8 @@
#define STRINGIFY(x) STRING(x)
#define STRING(VER) #VER
#if CPPCHECK_MINOR == CPPCHECK_DEVMINOR
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR)
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0
#else
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev"
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,99,0
#endif
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2020 Cppcheck team."
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_MINOR) ".1"
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,1,0
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2021 Cppcheck team."

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Include>
<?define ProductName = "Cppcheck $(var.Platform) 2.4" ?>
<?define ProductName = "Cppcheck $(var.Platform) 2.4.1" ?>
<?define ProductNameShort = "Cppcheck" ?>
<?define ProductVersion = "2.4" ?>
<?define ProductVersion = "2.4.1" ?>
<?define ProductManufacturer = "The Cppcheck team" ?>
<?define ProductDescription = "Cppcheck is a tool for static analysis of C/C++ code" ?>