Hi,
Currently in my QBS file for an mBed compile I have this:
cpp.staticLibraries: [
"stdc++",
"supc++",
"m",
"gcc",
"c", // libc really must be included twice, and before nosys.
"c",
Here's my solution, for converting elf to bin. NOTE THAT YOU MUST LEAVE
application IN THE TYPE LIST. Otherwise the run configuration of the Bare
Metal projects won't work.
CppApplication {
type: [application, bin]
// ...
property string objCopyPath:
the timestamps (or whatever it does).
Cheers,
Tim
On 23 May 2014 08:28, Christian Kandeler christian.kande...@digia.comwrote:
On 05/22/2014 06:07 PM, Tim Hutt wrote:
Product {
property string foo: baz
Rule {
prepare: {
var a = product.foo;
Sure it does. We use
Relatedly, how can I access properties from a Rule's prepare script? E.g.
this does not work - it thinks foo is not defined.
Rule {
property string foo: baz
prepare: {
var *a = foo;*
On 22
Hi,
I have a QBS script that depends on using the GNU Arm toolchain, and I want
it to automatically find them (on Windows for now). In my QBS I have this
line:
property string gnuToolsDir: C:/Program Files/GNU Tools ARM
Embedded/4.8 2014q1
And then I use that elsewhere. I want to set
Is there a way to get the directory that the QBS file is in, i.e. like
buildDirectory, but for the source?
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs
How can I specify assembler flags?
cpp.asmFlags does not work.
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs
using Qt Creator). If I made a profile would I be able to
make it automatically find the arm gcc, and could I distribute it with my
code easily?
Thanks for the info Denis!
On 15 May 2014 10:33, Christian Kandeler christian.kande...@digia.comwrote:
On 05/15/2014 10:30 AM, Tim Hutt wrote:
I
:
...
import YourFunctions
...
...
property string gnuToolsDir: YourFunctions.findGnuToolsDir();
...
I would make it so. Also you can look how this done by analogy, e.g. in
QtCreator's sources.
BR,
Denis
2014-05-15 12:30 GMT+04:00 Tim Hutt tdh...@gmail.com:
Hi,
I have a QBS script