Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
iMake
Make Files
Constants
Identifiers
Operators
Directives
Statements
Macros
Inference Macros
defined( )
exist( )
Sales
Legal
Feedback
|
Returns whether the specified identifier or macro is defined.
Syntax
defined( identifier | macro )
Parameters
identifier
|
the name of the identifier to check.
|
macro
|
the name of the macro to check.
|
Returns
boolean
|
true if the specified identifier or macro is defined.
false if the specified identifier or macro is not defined.
|
Notes
iMake predefined the above macro for use with the !if directive.
Example
!if !(defined(OS) || defined(VERSION))
!error release not setup properly
!endif
|
|