Command Reference
genicf
—Generates an Implementation Configuration File (ICF).
genicf [options]
idl-filename
...
Given the idl-filename
(
s
)
, generates an ICF file that provides the code generation process with additional information about policies on implementations and the relationship between implementations and the interface they implement. If an ICF file is provided as input to the idl
command, the idl
command generates server code for only the implementation/interface pairs specified in the ICF file.
The generated ICF file has the same filename as the first idl-filename
specified on the command line, but with an .icf
extension.
If incorrect OMG IDL syntax is specified in the
idl-filename
(
s
)
file, appropriate errors are returned.
Performs the same function as the #define
C++ preprocessor directive; that is, the -D
option defines a token string or a macro to be substituted for every occurrence of a given identifier in the definition file. If a definition is not specified, the identifier is defined as 1. Multiple -D
options can be specified. White space between the -D
option and the identifier is optional.
Specifies directories within which to search for include files, in addition to any directories specified with the #include
OMG IDL preprocessor directive. Multiple directories can be specified by using multiple -I
options.
There are two types of #include
OMG IDL preprocessor directives: system (for example, <a.idl>
) and user (for example, "a.idl
"). On UNIX systems, the path for system #include
directories is /usr/include
and any directories specified with the -I
option; the path for user #include
directives is the location of the file containing the #include
directive, followed by the path specified for the system #include
directive. On Windows 2003 systems, no distinction is made between the system #include
directories and the user #include
directives.
This command creates the emp.icf
file: genicf emp.idl
.