From GridLAB-D Wiki
Jump to: navigation, search

autoglobals - Automatic globals Template:NEW30

Synopsis

#ifdef WINDOWS
#ifdef APPLE
#ifdef LINUX
#ifdef DEBUG
#ifdef MATLAB
#ifdef XERCES
#ifdef CPPUNIT

Description

Automatic globals have no value associated with them but they otherwise appear to be defined. The autoglobals are typical defined when GridLAB-D executable is compiled and can be used to determine which options were compiled into the current executable.

WINDOWS 
Always defined on Microsoft Windows platforms.
APPLE 
Always defined on Apple Mac OS X platforms.
LINUX 
Always defined on Linux platforms.
DEBUG 
Always defined when _DEBUG option enabled during compile.
MATLAB 
Always defined when Matlab was available during compile.
XERCES 
Always defined when Xerces-C was available during compile.
CPPUNIT 
Always defined when Cppunit was available during compile.

See also