Visible to Intel only — GUID: GUID-A49A6018-621C-4955-B731-05691C03E9DE
Visible to Intel only — GUID: GUID-A49A6018-621C-4955-B731-05691C03E9DE
x (type option)
Tells the compiler that all source files found subsequent to -x type should be recognized as a particular type.
Syntax
Linux: |
-x type |
Windows: |
None |
Arguments
type |
Is the type of source file. Possible values are:
|
Default
OFF |
The type of source files is not changed. |
Description
Tells the compiler that all source files found subsequent to -x type should be recognized as a particular type.
IDE Equivalent
Alternate Options
None
Example
Consider that you want to compile the following C and C++ source files whose extensions are not recognized by the compiler:
File Name |
Language |
---|---|
file1.c99 |
C |
file2.cplusplus |
C++ |
And you also want to include these files whose extensions are recognized:
File Name |
Language |
---|---|
file3.c |
C |
file4.cpp |
C++ |
The following is the command-line invocation:
icpx -x c file1.c99 -x c++ file2.cplusplus -x none file3.c file4.cpp