Define macros to build shared libraries on windows.

This commit is contained in:
Roman Telezhynskyi 2023-01-17 14:05:41 +03:00
parent 51200a38e2
commit 141373a903
2 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,7 @@ VLib {
"make_unique.h", "make_unique.h",
] ]
cpp.defines: 'QMUP_VERSION="' + product.version + '"' cpp.defines: ["QMUPARSER_LIBRARY", 'QMUP_VERSION="' + product.version + '"']
buildconfig.staticBuild: false buildconfig.staticBuild: false

View File

@ -92,4 +92,6 @@ VLib {
Depends { name: "cpp" } Depends { name: "cpp" }
cpp.includePaths: [exportingProduct.sourceDirectory] cpp.includePaths: [exportingProduct.sourceDirectory]
} }
cpp.defines: "VPROPERTYEXPLORER_LIBRARY"
} }