Define versions for dynamic libraries.

This commit is contained in:
Roman Telezhynskyi 2023-01-10 13:27:19 +02:00
parent f96a507b1b
commit 26693777cc
3 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,6 @@
VLib {
name: "QMUParserLib"
version: "2.7.0"
files: [
"qmuparser.cpp",
"qmuparsertokenreader.cpp",
@ -31,6 +32,8 @@ VLib {
"make_unique.h",
]
cpp.defines: 'QMUP_VERSION="' + product.version + '"'
buildconfig.staticBuild: false
Group {

View file

@ -33,7 +33,9 @@
@brief This file contains standard definitions used by the parser.
*/
#define QMUP_VERSION "2.7.0"
#ifndef QMUP_VERSION
#define QMUP_VERSION "2.7.0" // Leave while we still use qmake
#endif
#define QMUP_VERSION_DATE "20191030; GC"
// Detect whether the compiler supports C++11 noexcept exception specifications.

View file

@ -3,6 +3,7 @@ VLib {
Depends { name: "VMiscLib" }
name: "VPropertyExplorerLib"
version: "1.0.0"
files: [
"vproperty.cpp",
"vpropertydelegate.cpp",