Output - C/C++
Go Up to Delphi Compiler
Project > Options > Building > Delphi Compiler > Output - C/C++
Allows you to specify the C/C++ output from the Delphi compiler (exactly what the Delphi compiler is to output and the directory for the output).
By default, the Delphi compiler generates all C++Builder files (not just the .dcu files), including the required Delphi files. The only other option that generates the necessary Delphi portions is Generate DCUs. Use the C/C++ Output file generation option to specify the files you want to output.
| Options | Description | 
|---|---|
| Target, Apply, Save | See Target Options. | 
| Common items | 
| Output Option | Description | Compiler switches | All platforms supported unless noted | |
|---|---|---|---|---|
| C/C++ .bpi output directory (package import libraries) | Specifies the output directory for the package import libraries ( | 
 | 
 | |
| C/C++ .hpp output directory | Specifies the output directory for the C++ header files ( | 
 | ||
| C/C++ .obj/.lib output directory | Specifies the output directory for the C++ object ( | 
 | ||
| C/C++ Output file generation | Specifies the files that are to be output by the Delphi compiler. Note:  For Delphi packages, only two choices are offered:
 
 Click the down-arrow to display the choices: | 
 | ||
| Generate DCUs only | Generates the package and associated  | 
 | ||
| Generate C .objs | Creates a C object file for linking with a C program (no name mangling). | 
 | ||
| Generate C++ .objs | Creates a C++ object file for linking with C++ (uses C++ name mangling). | 
 | ||
| Generate C++ .objs, headers | Generates a header file ( | 
 | ||
| Generate C++ .objs, headers, namespaces | Includes C++ namespace information in the  | 
 | ||
| Generate C++ .objs, headers, namespaces, export | Includes all symbol information in the  | 
 | ||
| Generate C++ .objs, namespaces | Includes C++ namespace information in the  | 
 | ||
| Generate C++ .objs, namespaces, export | Includes C++ namespace and symbol information in the  | 
 | ||
| Generate C++ .objs, headers, exports | Includes symbol information in the generated object ( | 
 | ||
| Generate C++ .objs, exports | Includes symbol information in the generated object ( | 
 | ||
| Generate all C++Builder files (including package libs) * | Generates the package and all Delphi pieces, along with all necessary header files ( | 
 | ||
| Generate .hpp file. | Generates a header file ( | 
 | ||
See Also
- _export, __export
- DCC32.EXE, the Delphi Command Line Compiler
- DCC64.EXE, the Delphi 64-bit Command Line Compiler
- DCCOSX64.EXE, the Delphi Compiler for macOS 64-bit
- DCCOSXARM64.EXE, the Delphi Compiler for the 64-bit macOS Device
- DCCAARM64.EXE, the Delphi Compiler for Android 64-bit
- DCCAARM.EXE, the Delphi Compiler for Android
- DCCIOSARM64.EXE, the Delphi Compiler for the 64-bit iOS Device