[QGIS-Developer] Let (C)Make run sipify?

Sandro Santilli strk at kbt.io
Thu Jun 15 01:13:50 PDT 2017


On Thu, Jun 15, 2017 at 06:19:46AM +0000, Denis Rouzaud wrote:

> To achieves this, I was thinking at letting cmake create the include sip
> file lists (core.sip, gui.sip, …) to get a compile error whenever someone
> adds a cpp header without its corresponding sip file. I gave it a try and
> it works well.

I think any file that can be automatically generated is ok to be built
by running `make` (or whatever other build command cmake can produce).
So rather than a compile error, you should get an automated build of
the missing files.

Likewise, generated files should not be in the GIT repository (as they
are not things you want to edit manually).

Is the above achievable ?

--strk;


More information about the QGIS-Developer mailing list