2.4.1: Set version
This commit is contained in:
parent
d0afc4bf02
commit
b01c9267f0
|
@ -20,7 +20,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @mainpage Cppcheck
|
* @mainpage Cppcheck
|
||||||
* @version 2.4
|
* @version 2.4.1
|
||||||
*
|
*
|
||||||
* @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.
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
# Version for libraries CPP
|
# Version for libraries CPP
|
||||||
SET(VERSION "2.4")
|
SET(VERSION "2.4.1")
|
||||||
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)
|
||||||
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:
|
# Postfix of so's:
|
||||||
SET(DLLVERSION "")
|
SET(DLLVERSION "")
|
||||||
|
|
|
@ -7,11 +7,8 @@
|
||||||
|
|
||||||
#define STRINGIFY(x) STRING(x)
|
#define STRINGIFY(x) STRING(x)
|
||||||
#define STRING(VER) #VER
|
#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_MINOR) ".1"
|
||||||
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0
|
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,1,0
|
||||||
#else
|
|
||||||
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev"
|
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2021 Cppcheck team."
|
||||||
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,99,0
|
|
||||||
#endif
|
|
||||||
#define LEGALCOPYRIGHT L"Copyright (C) 2007-2020 Cppcheck team."
|
|
||||||
|
|
|
@ -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.4" ?>
|
<?define ProductName = "Cppcheck $(var.Platform) 2.4.1" ?>
|
||||||
<?define ProductNameShort = "Cppcheck" ?>
|
<?define ProductNameShort = "Cppcheck" ?>
|
||||||
<?define ProductVersion = "2.4" ?>
|
<?define ProductVersion = "2.4.1" ?>
|
||||||
|
|
||||||
<?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" ?>
|
||||||
|
|
Loading…
Reference in New Issue