Re: [QBS] Generate pre compiled headers

2014-05-23 Thread Joerg Bornemann
On 22-May-14 19:28, olivier musse wrote: > I'm sure it is possible to find a solution even if not optimal. I've created QBS-595 for this. BR, Joerg ___ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs

Re: [QBS] Generate pre compiled headers

2014-05-22 Thread olivier musse
> On 21-May-14 00:08, olivier musse wrote: > >> 1) The file pch_headers.h is well generated on the build directory if in >> my PchHeaders Group I select files with extension other than .h . When >> I use .h extension, the pch_headers.h is not generated as if there are >> some interferences between

Re: [QBS] Generate pre compiled headers

2014-05-22 Thread Joerg Bornemann
On 21-May-14 00:08, olivier musse wrote: > 1) The file pch_headers.h is well generated on the build directory if in > my PchHeaders Group I select files with extension other than .h . When > I use .h extension, the pch_headers.h is not generated as if there are > some interferences between the cpp

Re: [QBS] Generate pre compiled headers

2014-05-21 Thread olivier musse
Hi Christian, Thanks for the answer but I do not understand it. Of course I see that cpp module is handling a precompile header since i'm using the cpp.cxxPrecompiledHeader in my example. But except if I missed something this property if of path type so that you can specify only one file contai

Re: [QBS] Generate pre compiled headers

2014-05-21 Thread Christian Kandeler
On 05/21/2014 12:08 AM, olivier musse wrote: > Hi, > > I want to create a module to automatically create and compile a pre > compile header file in my project > For that I create the following module Why? The cpp module supports this already; see http://qt-project.org/doc/qbs-1.2/cpp-module.html#

[QBS] Generate pre compiled headers

2014-05-20 Thread olivier musse
Hi, I want to create a module to automatically create and compile a pre compile header file in my project For that I create the following module - generatePCH.qbs importqbs import qbs.TextFile import qbs.FileInfo Module { Rule { inputs: ['pch'] multiplex:true