Commit 849f8e2d authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Erik Verbruggen

CppEditor: Fix qbs build

Change-Id: If50910f03f37fb91a1d885d53aa9de7899ac4305
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 72db7a8f
import qbs.base 1.0 import qbs.base 1.0
import qbs.fileinfo as FileInfo
import "../QtcPlugin.qbs" as QtcPlugin import "../QtcPlugin.qbs" as QtcPlugin
import "../../../qbs/defaults.js" as Defaults
QtcPlugin { QtcPlugin {
name: "CppEditor" name: "CppEditor"
...@@ -57,4 +59,13 @@ QtcPlugin { ...@@ -57,4 +59,13 @@ QtcPlugin {
"cpptypehierarchy.cpp", "cpptypehierarchy.cpp",
"cpptypehierarchy.h", "cpptypehierarchy.h",
] ]
Group {
condition: Defaults.testsEnabled(qbs)
files: [
"cppquickfix_test.cpp"
]
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment