[Qbs] Build static and dynamic libraries

Stephan Gatzka stephan.gatzka at gmail.com
Mon Oct 30 11:49:38 CET 2017


Hi all!

I need to build form a single code basis both a static and a dynamic 
library.

Because both are distinct products, I'm wondering howto write a qbs file 
without repeating the files section in both products:

Project {
      Product {
          name: "p1"
          files: "f1.c"
      }

      Product {
          name: "p2"
          files: "f1.c"
      }
}

Any thoughts?

Regards,
Stephan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5595 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20171030/f45ff406/attachment.bin>


More information about the Qbs mailing list