for example, I have a script dll_template.qbs file located in dir
"testQbs\", the content is:
import qbs
Product {
Depends { name: "cpp" }
Depends { condition: project.enableUnitTests; name: "Qt.test" }
type: "dynamiclibrary"
cpp.includePaths: [
"$(CurrentQbsFileDirectory)\somepath"
]
}
and have the other qbs scrit dll_a.qbs localted in dir "testQbs\testA\",
the content is:
import qbs
from "../dll_template.qbs" as Dll
Dll {
name: "DllA"
files: [
"testA.cpp"
]
}
So that the in product DllA, the cpp can have the include path
"testQbs\somepath"
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs