aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/echoserver/echoserver.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/echoserver/echoserver.qbs')
-rw-r--r--tests/unit/echoserver/echoserver.qbs30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/unit/echoserver/echoserver.qbs b/tests/unit/echoserver/echoserver.qbs
new file mode 100644
index 0000000000..77df73a6d6
--- /dev/null
+++ b/tests/unit/echoserver/echoserver.qbs
@@ -0,0 +1,30 @@
+import qbs.FileInfo
+
+QtcProduct {
+ name: "echoserver"
+ type: "application"
+ targetName: "echo"
+ consoleApplication: true
+ destinationDirectory: FileInfo.joinPaths(project.buildDirectory,
+ FileInfo.relativePath(project.ide_source_tree, sourceDirectory))
+ install: false
+
+ Depends { name: "qtc" }
+ Depends { name: "ClangSupport" }
+ Depends { name: "Sqlite" }
+ Depends { name: "Utils" }
+ Depends { name: "Qt.network" }
+
+ cpp.defines: ["CLANGSUPPORT_TESTS", "DONT_CHECK_MESSAGE_COUNTER"]
+ cpp.dynamicLibraries: qbs.targetOS.contains("unix:") ? ["dl"] : []
+ cpp.rpaths: [
+ FileInfo.joinPaths(project.buildDirectory, qtc.ide_library_path),
+ FileInfo.joinPaths(project.buildDirectory, qtc.ide_plugin_path)
+ ]
+
+ files: [
+ "echoclangcodemodelserver.cpp",
+ "echoclangcodemodelserver.h",
+ "echoserverprocessmain.cpp",
+ ]
+}