[Brlcad-devel] New configure option, --enable-everything
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Christopher S M. <br...@ma...> - 2005-12-06 23:10:33
|
I added a new convenience option to configure that enables compilation of all of the codes that BRL-CAD provides, --enable-everything. This turns on compilation of everything in src/other as if the user had specified --enable-tcl, --enable-jove, etc for all provided packages with the single exception of the Pro/Engineer plugin. That exception is made simply because it's not an isolated package and itself has a dependency on Pro/Toolkit, not to mention only being heavily tested on a single platform. Like all of the options, a --disable-everything should also work equivalently to using a --enable-FEATURE=no or --disable-FEATURE for all of the configurable packages. If, however, said package is not located on the system, configure will still abort like it always has if the component is required (like Tcl/Tk) and not found. I also made it such that either --enable-everything or --disable-everything may also be used in conjunction with other enable/disable options. So you can --enable-everything --disable-jove to turn everything except compilation of jove, for example. The new option should make adding BRL-CAD to packaging systems a little easier since they generally want --disable-everything with dependencies explicitly listed, and also for making binary distributions which are generally --enable-everything so as to not cause run-time errors regarding some missing component. It's probably worth noting that the --enable-everything option does not forcibly enable/disable any of the optional components that we don't ship (the --with-PACKAGE options), like whether to build code reliant on X11, OpenGL, Java, Python, etc. Those are all still auto-detected by default during configuration. Cheers! Sean |