trelau / SMESH

Mesh module from the Salome Platform
GNU Lesser General Public License v2.1
50 stars 31 forks source link

Missing option to build smesh without VTK #60

Closed pkwok14 closed 2 years ago

pkwok14 commented 2 years ago

I wonder if there is some possibility to build smesh as a library without VTK if one does not need visualization (assuming VTK isn't somehow needed for the core meshing functionality). As it is not it seems VTK is a hard coded requirement, but I wonder if there is some way to build it without going through all sources to eliminate VTK dependencies manually?

trelau commented 2 years ago

VTK is required as it provides much of the core mesh data structures that SMESH is built on or around.

Why do you want to avoid building VTK?

pkwok14 commented 2 years ago

Ah, I see. I was thinking of building a small stand alone binary, and thought VTK was just used for visualization. And is kind of heavy dependency (in the context) and could be removed, but I guess not without a big redesign. Thanks for clarifying anyway.