1

How would I go about automating compiling a project multiple times with different options? Preferably with QMake?

For example, compiling a "trial" version that literally excludes the pro features in the binary.

Now the toolchain is setup to output code archive, portable-zip and installer. Ideally I want the same again, but to a different name with other defines active.

This is on windows.

Jeroen3
  • 919
  • 5
  • 20
  • Does this answer your question? [Build multiple versions of a binary with qmake](https://stackoverflow.com/questions/57818425/build-multiple-versions-of-a-binary-with-qmake) – Matt Sep 28 '21 at 12:06
  • @Matt So manually building via powershell is the only option? – Jeroen3 Sep 28 '21 at 13:24
  • I don't get what pwsh has to do with this. – Matt Sep 28 '21 at 13:41
  • @Matt right now qt creator is setting up the environments. I see that the best possible scenario is converting to cmake., which does more automations. – Jeroen3 Sep 29 '21 at 06:02

0 Answers0