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
* @version 2.5
* @version 2.6
*
* @section overview_sec Overview
* Cppcheck is a simple tool for static analysis of C/C++ code.

View File

@ -1,5 +1,5 @@
# Version for libraries CPP
SET(VERSION "2.5.99")
SET(VERSION "2.6")
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
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
#define CPPCHECK_MAJOR 2
#define CPPCHECK_MINOR 5
#define CPPCHECK_MINOR 6
#define CPPCHECK_DEVMINOR 6
#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_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) "-rc1"
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0
#else
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev"

View File

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

View File

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

View File

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