Developer Guide and Reference

Contents

x (type option)

All source files found subsequent to -x type will be recognized as a particular type.

Syntax

Linux:
-x
type
macOS:
-x
type
Windows:
None
Arguments
type
is the type of source file. Possible values are:
c++
C++ source file
c++-header
C++ header file
c++-cpp-output
C++ pre-processed file
c
C source file
c-header
C header file
cpp-output
C pre-processed file
assembler
Assembly file
assembler-with-cpp
Assembly file that needs to be preprocessed
none
Disable recognition, and revert to file extension
Default
none
Disable recognition and revert to file extension.