I’m struggling to set up the qmake builds which include a small library. I had thought to use the:
template = subdir approach. But I’m not sure.
The library files themselves depend on SDL2 and SDL2_mixer. Obviously they should deploy to the local lib directory of the app itself.
What’s the best way to structure this in the app SDK. Use a toplevel subdir template and then the harbour-app.pro and lib.pro files in subdirs?
EDIT: the library I’m trying to build/include in the project is: synth/lib at master · hsaturn/synth · GitHub (from my clone thereof).
I tried using include mechanisms but this does not work (for reasons obvious to some
Is it just a question of setting up a buld step that builds the lib first? Switching between the pro and pri files is not getting me there.