2.7.3: Set version
This commit is contained in:
parent
a06898dc8e
commit
97bf53515b
|
@ -1,5 +1,5 @@
|
||||||
# Version for libraries CPP
|
# Version for libraries CPP
|
||||||
SET(VERSION "2.7")
|
SET(VERSION "2.7.3")
|
||||||
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)
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
#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) ".3"
|
||||||
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0
|
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,3,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"
|
||||||
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,99,0
|
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,99,0
|
||||||
|
|
|
@ -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.7" ?>
|
<?define ProductName = "Cppcheck $(var.Platform) 2.7.3" ?>
|
||||||
<?define ProductNameShort = "Cppcheck" ?>
|
<?define ProductNameShort = "Cppcheck" ?>
|
||||||
<?define ProductVersion = "2.7" ?>
|
<?define ProductVersion = "2.7.3" ?>
|
||||||
|
|
||||||
<?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