mglib

Personal IDL library for M. Galloy

Directory: dist_tools/

The dist_tools package is a collection of routines useful in several areas when creating applications for distribution to others.

The main directory ./ provides basic routines that are extremely valuable whenever distributing an application like the MG_SRC_ROOT routine, MGffPrefs class, or MG_IDLVERSION routine. The MG_LOG routine and MGffLogger class provide a mechanism for logging in applications.

Installation

To get the current version of the dist_tools, use a Subversion client to grab the current trunk of the repository. For example, to use the command line svn command from a system prompt:

$ svn co http://svn.idldev.com/dist_tools/trunk dist_tools

Author information

Author

Michael Galloy

Copyright

BSD license

Contents

.pro files

mg_cmp_version.pro

Compares two version numbers for the more updated number.

mg_hasroutine.pro

Determines if a given routine is available to call.

mg_idlversion.pro

Returns the IDL version number as a string or a boolean indicating whether a required version is met.

mg_include.pro

Includes the contents of the given batch file at the calling level.

mg_log.pro

MG_LOG is a procedural interface to the logging framework.

mg_log_common.pro
mg_make_cl_wrapper.pro

Create a UNIX wrapper script to call an IDL routine.

mg_make_dll.pro

Wrapper for MAKE_DLL that handles input and output directories more intelligently.

mg_make_rt.pro

MG_MAKE_RT can build a cross-platform runtime distribution.

mg_options__define.pro

An object to facilitate parsing of command line options.

mg_platform_extension.pro

Returns the platform extension used by the PLATFORM_EXTENSION keyword to MAKE_DLL.

mg_resolve_routine.pro

Routine to resolve a given routine without crashing.

mg_src_root.pro

Returns the absolute directory name (with a trailing slash) of the location of the source code for the routine that called this function.

mg_use.pro

Creates a list of files required to run the specified routines.

mg_use_wrapper.pro

Wrapper for MG_USE to be called from the command line.

mgfflogger__define.pro

Logger object to control logging.

mgffprefs__define.pro

Class responsible for storing and retrieving preferences.

Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.