gmsh (was: Re: Portgroups Cmake + PythonXX)

Vincent Habchi vince at macports.org
Fri Dec 28 06:26:12 PST 2012


On 28 déc. 2012, at 14:39, Ryan Schmidt <ryandesign at macports.org> wrote:

> Not easily... But does it matter? Will the bindings be different depending on gmsh's variants? If so that would be quite a bit annoying.

Some bindings depend whether gmsh was compiled with or without GUI support. I wrote this as an example:

pre-configure {
    set gmshvar [lindex [split [registry_active gmsh] " "] 3]
    set gmshvar [split $gmshvar "+-"]

    if {[lsearch -exact $gmshvar qt4]} {
        configure.args-append   -DENABLE_QT:BOOL=ON
    }
}

Is that correct?

Vincent


More information about the macports-dev mailing list