Description
I have several test applications which share some settings with a common TestApp module. The applications' qbs are in subfolder and refer to the main module which can be found in upper folder. Like this:
import "../TestApp.qbs" as TestApp TestApp { name : "test" cpp.defines : ['HELLO_COUNT=10'] }
The TestApp has some common settings:
import qbs.base 1.0 Application { cpp.includePaths : [ ] files : [ "main.cpp" ] Depends { name: "cpp" } }
But when I try to build the test.qbs, (go to 'test' dir and run 'qbs') it tries to look for the 'files' relative to TestApp.qbs, not test.qbs. It seems to fail even if I set the path to '../main.cpp' in TestApp. It works only if I set the files in test.qbs, which is the thing I wanted to avoid.
QBS-83 seems to be related to same issue.
Git version: 67c622ab807302f3b630100454a4e3a7a8e85676
Attachments
Issue Links
- replaces
-
QBS-204 inherited includePaths is inconsistent
-
- Closed
-