The source files for a build are specified in your configuration file. The source directive controls the name and type of the sources for a build.
The default types recognized by VisualAge C++ are listed in the following table. If a type is not recognized in the type clause on all platforms, the platforms to which it applies are shown in the first column. The file extensions associated with each source type are shown in the second column. To make your configuration file compatible with many platforms, types specified in the type clause are mapped onto different file extensions if required by your platform.
![]()
On OS/2 and Windows NT
platforms, the case of letters in file names does not matter and
is not significant in determining the type of source files.
| type Clause | File Extension | Type of Source |
|---|---|---|
| a | Static library | |
| C | C++ source | |
| c | c | C source |
| cpp | cpp | C++ source |
| cxx | cxx | C++ source |
| exp | Export file | |
| h | h | C++ source |
| hpj | hpj | Windows help project file |
| hpp | hpp | C++ source |
| imp | Import file for shared library | |
| ipf | ipf | Source for Information Processing Facility compiler |
| lib | lib |
|
| mak | mak | Makefile |
| message file | ||
| text file in OS/2 message format | ||
| o | Object file for linking | |
| obj | Object file for linking | |
| rbj | Resource object file | |
| rc | rc | Resource source |
| res | res | Resource binary for linking |
| sqc | sqc | C source with embedded SQL |
| sqx | sqx | C++ source with embedded SQL |
![]()
Configuration Files
Build Extensions and Extension
Specification Files
![]()
Change a Build Setup
Add or Change Source
Files
Override the Default Type of a
Source File
Build
Compile and Bind Resources
Build With Existing Object Files
and Libraries
Use Makefiles as Sources for a
Build
![]()
Types of Target Files
Build Extensions Supplied with VisualAge C++
