A
A
Alexey Obukhov2018-02-13 23:36:30
Qt
Alexey Obukhov, 2018-02-13 23:36:30

How to build and configure a distribution from a bunch of disparate files?

There is a rather large project in C++/Qt/qbs under Win32 that is built using TeamCity.
Used by qbs and its tools, the build results after qbs install end up in a structured folder , almost ready to be slipped into Inno Setup.
But besides the build results (binaries, translations), there are also a bunch of files for the interface (qml, js), ini project settings files for a specific configuration. The total number of such files can reach 300-500.
Now a bicycle has been written in C - a utility that builds the distribution structure based on the xml description of a specific software configuration (there are about 12 configurations themselves).
The utility performs the following tasks:

  • Copying files and/or folders to a specific location (masks with exceptions are supported)
  • Operation with settings in ini files in the destination folder
  • The ability to build a chain of configuration description xml files to avoid duplication of common pieces
  • Calling some other utilities to perform intermediate operations (for example, signing binaries with a certificate)

Can you please let me know if there is any tool for this task?
It is clear that you can write a bunch of code in powershell / js / c ++, but this is already like from hopelessness. Then IMHO it is better to use your bike, especially since he already has one.
The current bike as a whole suits, perhaps with the exception of the inability to parallelize the assembly of individual configurations.
Now a lot of different new assembly tools appear, and I want to know how experienced comrades solve such problems.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question