I’ve just gotten great advice in a sailfish context for how to use the subdirs templates for dependancy building. This is great if you controll all the code. For the example I’m working on, where the entire library could actually be put in a single file and header, that’s ok. But not if you want to collaborate.
So, I want to use a library which the author supplies with cmake build files. But I’d prefer to use qmake (someone will probably hate me for saying that I just find qmake in the Sailfish SDK context to be clean to work with managing with .spec and .pro files alone. On the other hand, the future of QT (sometime in the evolution of 6) is pointing at cmake anyway. Soooo.
What should I do, attempt to come up with a recipe for mixing build steps (must be doable)? Switch everything as some Sailfish devs have done to cmake?
My preference would be to use separate build steps, be able to include submodules from other projects via git that use cmake, but stick to ‘straight’ qmake for the sailfish apps. I’m probably thinking in the wrong direction.
The source, using the primitive subdirs approach is here (only a skeleton thus far):
What I’d like to do is use a build step instead that includes the cmake here: