diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-01-07 11:23:27 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-01-07 12:55:25 +0100 |
commit | e174e24d582985dbdbf3421ab74ab52eb4589fb6 (patch) | |
tree | 1e432b7f05ccb0416b09ed8a7c4a6982fee17756 | |
parent | 39d93f4f4512f9f701d6028214cc92a29a494386 (diff) | |
download | qt-creator-e174e24d582985dbdbf3421ab74ab52eb4589fb6.tar.gz |
CppTools: Fix qbs build.
Change-Id: I0ef6e4419596b7cc0f8a574917fec5af94ff8832
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
-rw-r--r-- | src/plugins/cpptools/cpptools.qbs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpptools.qbs b/src/plugins/cpptools/cpptools.qbs index d335deedac..4a9dcc729b 100644 --- a/src/plugins/cpptools/cpptools.qbs +++ b/src/plugins/cpptools/cpptools.qbs @@ -1,4 +1,5 @@ import qbs.base 1.0 +import qbs.fileinfo as FileInfo import "../QtcPlugin.qbs" as QtcPlugin import "../../../qbs/defaults.js" as Defaults @@ -108,7 +109,14 @@ QtcPlugin { Group { condition: Defaults.testsEnabled(qbs) - files: ["cppcodegen_test.cpp", "cppcompletion_test.cpp"] + files: [ + "cppcodegen_test.cpp", + "cppcompletion_test.cpp", + "cppmodelmanager_test.cpp", + "modelmanagertesthelper.cpp", "modelmanagertesthelper.h" + ] + + cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"']) } ProductModule { |