[QBS] Transformer -> Rule

2016-09-10 Thread arturo castro
Hi I have a qbs project file that compiles an external library using a Transformer. it looks something like: Product{ Transformer { condition: qbs.buildVariant.contains('debug') inputs: files Artifact { filePath: Helpers.normalize(product.libDir + "/libo

[QBS] android clang

2016-04-28 Thread arturo castro
Is it possible to setup an android clang toolchain? qbs setup-android always seems to setup gcc and there doesn't seem to be any command line options to specify the toolchain. the qbs module though has some references to clang so not sure. ___ QBS mailing

Re: [QBS] static library dependency always recompiles

2015-09-30 Thread arturo castro
i'm trying now to set the library in cpp.staticLibraries or directly the full path to the .a as a cpp.linkerFlags but the project won't detect if the library has changed. if i modify the library and recompile it, then run the project it will just run as if nothing had changed, it won't link the ne

Re: [QBS] static library dependency always recompiles

2015-09-30 Thread arturo castro
Yes i already have a module that exports all the search paths and other flags common to the library and applications using it. To explain better the use case, the library i develop has around 200 examples, every time a user wants to compile one the library has to be compiled already otherwise havi

[QBS] static library dependency always recompiles

2015-09-30 Thread arturo castro
Hi I develop an open source library which i also use in my projects. I have created a qbs project for my applications that has the library's qbs as a dependency, using reference. The problem is that whenever i start a new application it recompiles the library completely. Instead of recompiling ev