forked from qt-creator/qt-creator
MinGW-w64 cross compilation packages always use lower-case filenames. library name "Ws2_32" changed to "ws2_32" include name "Windows.h" changed to "windows.h" Change-Id: I405f2e23c3f136961f66fc5e1d0d98f760c46e2c Reviewed-by: Daniel Teske <daniel.teske@digia.com>
25 lines
634 B
Plaintext
25 lines
634 B
Plaintext
import qbs.base 1.0
|
|
|
|
Application {
|
|
name: "tcpportsgatherer"
|
|
|
|
files: [
|
|
"main.cpp",
|
|
"../../../../src/libs/utils/portlist.cpp",
|
|
"../../../../src/libs/utils/portlist.h",
|
|
"../../../../src/libs/utils/tcpportsgatherer.cpp",
|
|
"../../../../src/libs/utils/tcpportsgatherer.h"
|
|
]
|
|
|
|
cpp.includePaths: [ "../../../../src/libs" ]
|
|
cpp.defines: [ "QTCREATOR_UTILS_STATIC_LIB" ]
|
|
|
|
Properties {
|
|
condition: qbs.targetOS == "windows"
|
|
cpp.dynamicLibraries: [ "iphlpapi.lib", "ws2_32.lib" ]
|
|
}
|
|
|
|
Depends { name: "cpp" }
|
|
Depends { name: "Qt"; submodules: ["widgets"] }
|
|
}
|