forked from qt-creator/qt-creator
Adapt Qbs build
Add files to nanotrace and limit sqlite to MSVC2022 and later. Change-Id: I81b301e56a0084dd94f8f03011b4eb7adb737603 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
QtcLibrary {
|
||||
name: "Nanotrace"
|
||||
|
||||
Depends { name: "Utils" }
|
||||
Depends { name: "Qt.gui" }
|
||||
|
||||
cpp.defines: base.concat("NANOTRACE_LIBRARY", "NANOTRACE_ENABLED")
|
||||
|
||||
files: [
|
||||
"nanotrace.cpp",
|
||||
"nanotrace.h",
|
||||
"nanotraceglobals.h",
|
||||
"nanotracehr.cpp",
|
||||
"nanotracehr.h",
|
||||
"staticstring.h",
|
||||
]
|
||||
|
||||
Export {
|
||||
|
@@ -3,10 +3,13 @@ import qbs.Utilities
|
||||
QtcLibrary {
|
||||
name: "Sqlite"
|
||||
|
||||
Depends { name: "Nanotrace" }
|
||||
Depends { name: "Utils" }
|
||||
Depends { name: "sqlite_sources" }
|
||||
Depends { name: "Qt.core"; required:false }
|
||||
condition: Qt.core.present && Utilities.versionCompare(Qt.core.version, "6.4.3") >= 0
|
||||
condition: ((Qt.core.present && Utilities.versionCompare(Qt.core.version, "6.4.3") >= 0)
|
||||
&& (!qbs.toolchain.contains("msvc")
|
||||
|| Utilities.versionCompare(cpp.compilerVersion, "19.30.0") >= 0))
|
||||
|
||||
property string exportedIncludeDir: sqlite_sources.includeDir
|
||||
|
||||
|
Reference in New Issue
Block a user