[QBS] Absolute paths in Product.destination question
Smirnov Vladimir
mapron at yandex.ru
Mon Mar 11 13:30:00 CET 2013
Thanks for help, i've done some digging and understand my mistake, I now
tell it, if it helps somebody:
if we write Depends block, we dont need to owerwrite the absolute path
of the lib, qbs done all the work automatically (it suprising, but
non-intuitive)
StaticLibrary{
Depends { name: "cpp" }
name: "Lib1"
files: ["src/lib1.cpp"]
}
StaticLibrary{
Depends { name: "cpp" }
name: "Lib2"
files: ["src/lib2.cpp"]
}
Application {
Depends { name: "cpp" }
Depends { name: "Lib1" }
Depends { name: "Lib2" }
name: "HelloWorld"
files: ["src/hello.cpp"]
}
So it compiles and links correctly.
P.S. I begin to hope that qbs is suitable for most my use cases =)
More information about the Qbs
mailing list