C++ Object File (*.obj, *.o)

A C++ object file is an intermediate file produced by a C++ compiler from a C++ implementation file and the C++ header files that the implementation file includes. The C++ linker produces the output executable or library of your project from your C++ object files.

Appmethod can generate C++ object files from both Object Pascal and C++ projects.

Appmethod C++ Object Files

When you build a C++ project, Appmethod generates a C++ object file for each unit in your project and a C++ object file for your project.

When you build your C++ project, Appmethod generates your C++ object files by default into C:\Users\<user>\Documents\Embarcadero\Studio\Projects\<project>\<platform>\<build configuration>.
For packages, Appmethod also creates a static version of your C++ object files, generated by default into C:\Users\<user>\Documents\Embarcadero\Studio\Projects\<project>\<platform>\<build configuration>\staticobjs. See Building Static Packages for more information.

C++ Object Files in Object Pascal Projects

When you build Object Pascal projects, Appmethod generates a C++ object file for each unit in your project and a C++ object file for your project if you select any of the following values for the C/C++ Output file generation option in Project > Options > Object Pascal Compiler > Output - C/C++: