>>По мне так qbs попонятней будет (по синтаксису)
не увидел преимуществ в ни понятности ни в краткости qbs-а перед qmake-ом
qmake:
Bash
TEMPLATE = app
INCLUDEPATH += "src"
INCLUDEPATH += "src/cmsis"
INCLUDEPATH += "src/inc"
INCLUDEPATH += "src/linker"
INCLUDEPATH += "src/startup"
SOURCE += "*.cpp"
SOURCE += "src/cmsis/*.c"
SOURCE += "src/inc/*.c"
SOURCE += "src/startup/*.c"
HEADERS+= "src/cmsis/*.h"
HEADERS += "src/inc/*.h"
qbs:
Bash
Project
{
name: "qbs"
Product
{
type: "application"
Depends { name: "cpp" }
...
cpp.includePaths:
[
"src",
"src/cmsis",
"src/inc",
"src/linker",
"src/startup"
]
files:
[
"*.cpp",
"src/cmsis/*.c",
"src/cmsis/*.h",
"src/inc/*.c",
"src/inc/*.h",
"src/startup/*.c"
]
...