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 { VLib {
name: "QMUParserLib" name: "QMUParserLib"
version: "2.7.0"
files: [ files: [
"qmuparser.cpp", "qmuparser.cpp",
"qmuparsertokenreader.cpp", "qmuparsertokenreader.cpp",
@ -31,6 +32,8 @@ VLib {
"make_unique.h", "make_unique.h",
] ]
cpp.defines: 'QMUP_VERSION="' + product.version + '"'
buildconfig.staticBuild: false buildconfig.staticBuild: false
Group { Group {

View file

@ -33,7 +33,9 @@
@brief This file contains standard definitions used by the parser. @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" #define QMUP_VERSION_DATE "20191030; GC"
// Detect whether the compiler supports C++11 noexcept exception specifications. // Detect whether the compiler supports C++11 noexcept exception specifications.

View file

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