Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

The VMD configure script in detail

Working with the configure script

VMD is designed to be portable to diverse operating systems, and to allow a person to individually include or exclude different optional features or modules. To make this possible, the configure script creates a Makefile in the src directory, using the selected architecture and any optional features that are enabled. This newly generated Makefile is then used to compile a VMD executable from the source code.

The configure script is found at the top level of the VMD working directory. This script has three purposes:

The configure script accepts options by command line or by reading a file named 'configure.options' in the top level directory. The main attributes required by the configure script are the target platform, graphics library, and any optional features which are to be enabled.

A typical example of this would be to compile VMD for Solaris with the following command line:

The configuration can be set in two ways:

After you've set the options in the file, run ./configure to propagate the new definitions to the Makefiles! The full list of compile-time options set by the configure script are:

Id:
pg_configure.dox,v 1.7 2020/02/24 18:05:20 johns Exp


Generated on Thu Mar 28 02:46:09 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002