[QBS] Installing one product at different locations

Epting, Thomas thomas.epting at stryker.com
Sun Dec 1 18:03:59 CET 2013


Hi everyone,

 

A question regarding setting up a specific deployment requirement.
Consider a project with 3 products, two applications and a dynamic
library. The library is shared between the applications, but both have
to be installed in different directories. So it has to be copied at two
different locations. For example on Windows, it could look like this:

 

   one/bin/one.exe

   one/bin/shared.dll

   two/bin/two.exe

   two/bin/shared.dll

 

Now I have created a project that p       roduces all 3 product (see
below). But I cannot file a way how to add Groups with qbs.install /
installDir (or any other mechanism) that finally copies my shared.dll to
more than one final location.

 

  Project {

    Application {

      name: "one"

      Depends { name: "shared" }

      ...

    }

    Application {

      name: "two"

      Depends { name: "shared" }

      ...

    }

    DynamicLibrary {

      name: "shared"

      ...

    }

  }

 

Is there a way to implement these requirements? Or do I have to use a
different approach?

 

Thanks,

Thomas

 

 

 

 

Stryker Leibinger GmbH & Co. KG
Sitz: Freiburg - Handelsregister: AG Freiburg HRA 4375
Komplementaerin: Stryker Beteiligungs GmbH
Geschaeftsfuehrer: Oliver Baertl
Sitz: Freiburg - Handelsregister: AG Freiburg HRB 5441, EAR Nr. 92587730
Bankverbindung: Bank of America N.A. Frankfurt 17 362 010 - BLZ 500 109 00, IBAN: DE04 5001 0900 0017 3620 10

 

Diese Nachricht und etwaige Dateianhaenge sind vertrauliche Informationen, die besonderen Geheimhaltungsvereinbarungen oder -vorschriften unterliegen koennen. Falls Sie nicht der beabsichtigte Empfaenger der Nachricht sind, werden Sie gebeten, den Absender telefonisch oder durch E-Mail zu unterrichten und die Nachricht und etwaige Dateianhaenge vollstaendig und endgueltig zu loeschen. Die Nachricht und ihr Inhalt duerfen in diesem Fall nicht kopiert, ausgedruckt oder weitergeleitet werden.

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.  If you are not the intended recipient, please telephone or e-mail the sender and delete this message and any attachment from your system.  If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20131201/3f36a8d6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Epting, Thomas.vcf
Type: text/x-vcard
Size: 457 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20131201/3f36a8d6/attachment.vcf>


More information about the Qbs mailing list