2.6: Set version

This commit is contained in:
Daniel Marjamäki 2021-09-26 12:09:02 +02:00
parent b1c063d306
commit a7fc054a8e
6 changed files with 8 additions and 8 deletions

View File

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

View File

@ -1,5 +1,5 @@
# Version for libraries CPP # Version for libraries CPP
SET(VERSION "2.5.99") SET(VERSION "2.6")
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}") STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR) LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
LIST(GET VERSION_PARTS 1 VERSION_MINOR) LIST(GET VERSION_PARTS 1 VERSION_MINOR)

View File

@ -2,13 +2,13 @@
// After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1 // After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1
#define CPPCHECK_MAJOR 2 #define CPPCHECK_MAJOR 2
#define CPPCHECK_MINOR 5 #define CPPCHECK_MINOR 6
#define CPPCHECK_DEVMINOR 6 #define CPPCHECK_DEVMINOR 6
#define STRINGIFY(x) STRING(x) #define STRINGIFY(x) STRING(x)
#define STRING(VER) #VER #define STRING(VER) #VER
#if CPPCHECK_MINOR == CPPCHECK_DEVMINOR #if CPPCHECK_MINOR == CPPCHECK_DEVMINOR
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) #define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) "-rc1"
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0 #define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0
#else #else
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev" #define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev"

View File

@ -1,6 +1,6 @@
--- ---
title: Cppcheck manual title: Cppcheck manual
subtitle: Version 2.5 subtitle: Version 2.6
author: Cppcheck team author: Cppcheck team
lang: en lang: en
documentclass: report documentclass: report

View File

@ -1,6 +1,6 @@
--- ---
title: Cppcheck .cfg format title: Cppcheck .cfg format
subtitle: Version 2.5 subtitle: Version 2.6
author: Cppcheck team author: Cppcheck team
lang: en lang: en
documentclass: report documentclass: report

View File

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