Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-15 Thread Ola Røer Thorsen
> > > > Group { > > name: "asm-linux-x86_64" > > condition: qbs.architecture === "x86_64" > > files: [ ...the .asm files ] > > cpp.assemblerName: "nasm" > > } > > That's due to an implementation detail in the cpp module: The assembler > path is read from the product-global instance,

Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-15 Thread Christian Kandeler
On Thu, 14 Dec 2017 21:01:03 +0100 Ola Røer Thorsen wrote: > > You need to set cpp.assemblerName, either in the profile or in your > > product(s). > > > Right. I had only tried setting it inside the Group item, but that didn't > have any effect. I need another Properties item instead to conditi

Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-14 Thread Denis Shienkov
> I'll have a similar Group item containing assembly Hi, seems, you need to use Properties item instead of Group item to use cpp.assemblerName . BR, Denis 14.12.2017 23:01, Ola Røer Thorsen пишет: 2017-12-14 18:02 GMT+01:00 Christian Kandeler mailto:christian.kande...@qt.io>>: On Thu,

Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-14 Thread Ola Røer Thorsen
2017-12-14 18:02 GMT+01:00 Christian Kandeler : > On Thu, 14 Dec 2017 17:46:56 +0100 > Ola Røer Thorsen wrote: > > > It's running when I tag the files with "asm", but using the assembler > "as" > > instead of "nasm". Any way to override that here for this particular > group > > of files? The sour

Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-14 Thread Christian Kandeler
On Thu, 14 Dec 2017 17:46:56 +0100 Ola Røer Thorsen wrote: > It's running when I tag the files with "asm", but using the assembler "as" > instead of "nasm". Any way to override that here for this particular group > of files? The source files are not compatible with "as". You need to set cpp.asse

Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-14 Thread Ola Røer Thorsen
2017-12-14 17:27 GMT+01:00 Christian Kandeler : > Have you tagged them properly? The .asm extension is not auto-tagged on > Linux; you will need to do that "manually" via a Group or a FileTagger > item. > See https://doc.qt.io/qbs/cpp-module.html#relevant-file-tags for the > assembler-related fil

Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-14 Thread Christian Kandeler
On Thu, 14 Dec 2017 15:52:03 +0100 Ola Røer Thorsen wrote: > I'm trying to build a project that has some assembly files as well as C++ > code. I'm building from QtCreator using the latest Qt 5.10 release kit > (Linux x86_64) on KDE Neon. > > The assembly files are added to the files property alo

[Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-14 Thread Ola Røer Thorsen
I'm trying to build a project that has some assembly files as well as C++ code. I'm building from QtCreator using the latest Qt 5.10 release kit (Linux x86_64) on KDE Neon. The assembly files are added to the files property along with the rest, and end with .asm. While building qbs seems to just i