forked from qt-creator/qt-creator
Can be used to check (non-intrusively) which TCP ports are still available. Change-Id: I61300f6b7215cb2c0e4a3e6135de305cfd38b5a9 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
25 lines
630 B
Plaintext
25 lines
630 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: ["gui"] }
|
|
}
|