The IDL compiler name of Tao is: tao_idl.exe. debug is located in the ace_wrappers/bin directory,
Release is located in the ace_wrappers/bin/releasedirectory, and the file name is still tao_idl.exe.
1. generated file:
*. The files generated after the IDL file is compiled are composed of file names and suffixes. The types include:
Description of the generated file format (default) Remarks
---------------------------------------------------------------
Customers stubs * C. H, * C. cpp, and * C. I
Server skeletons * S. H, * S. cpp, * s. I
The server skeleton (TIE) * s_t.h, * s_t.cpp, and * s_t. I can be removed using the-SC switch.
Implementation class files * I. H, * I. cpp do not generate these files by default, you need to use
-Gi Switch
---------------------------------------------------------------
Note: the format of the generated file (such as the suffix and extension) can be controlled by the command line switch.
2. tao_idl compilation options:
Enter the command
Tao_idl-u
A detailed description of the IDL compilation options will appear.
Although there are many compilation options for the Tao IDL compiler, there are only a few commonly used.
-SC: Implement without generating tie classes
-WB, pch_include = stdafx. H. Each CPP file generated will contain # include "stdafx. H"
-Gi: generate an empty implementation class.
-Idir: Specifies the search path of the IDL compiler.
Note that the compilation options are case sensitive.
Note:
It is found that when compiling the IDL file, the # define, # ifdef, # endif and other lines in the IDL file must be
The first column starts. Otherwise, the compiler reports an error.