To change a file's type

The Builder automatically sets the type of file based on the file's extension. If you need to manually override the Builder's choice:

  1. Select the file.
  2. Choose Project > Options for Selected Files... .
  3. Go to the General tab.
  4. In the Type: field, select the type of the selected file.

Note, however, that the compiler will always be selected based on the file's extension, not the file type. So for instance, even if you set the type for foo.c to Fortran, the C compiler will still be used instead of the Fortran compiler. Therefore, you will need to rename the file if you want to use a different compiler.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.