wdas / SeExpr

SeExpr is an embeddable, arithmetic expression language that enables flexible artistic control and customization in creating computer graphics images. Example uses include procedural geometry synthesis, image synthesis, simulation control, crowd animation, and geometry deformation. https://wdas.github.io/SeExpr
https://www.disneyanimation.com/open-source/seexpr/
Other
406 stars 86 forks source link

Don't build PyQt UI bindings if USE_PYTHON is False #83

Closed nrusch closed 6 years ago

nrusch commented 6 years ago

Reorganizes the UI build process so that libSeExpr2Editor can be built without the PyQt bindings when USE_PYTHON is off. Some facilities do not have (or use) PyQt internally, but may still wish to use the editor library in C++-based GUIs.

Eventually, it would be great to be able to build the core Python bindings but skip the libSeExpr2Editor PyQt bindings, so this is sort of an incremental step in that direction.

davvid commented 6 years ago

Thanks @nrusch! Can you please rebase your branch? I had a big cmake topic in flight that just got merged and your branch won't merge anymore. The diff looked good so as soon as you update I'll merge this in.

nrusch commented 6 years ago

@davvid Rebased as requested, and things seem to build as expected after a couple of quick tests.