Method CreateCompileUnit
CreateCompileUnit(SourceLanguage, String, String, Boolean, String, UInt32)
Creates a new DICompileUnit
Declaration
public DICompileUnit CreateCompileUnit(SourceLanguage language, string sourceFilePath, string producer, bool optimized, string compilationFlags, uint runtimeVersion)
Parameters
public DICompileUnit CreateCompileUnit(SourceLanguage language, string sourceFilePath, string producer, bool optimized, string compilationFlags, uint runtimeVersion)
SourceLanguage | language | SourceLanguage for the compilation unit |
String | sourceFilePath | Full path to the source file of this compilation unit |
String | producer | Name of the application processing the compilation unit |
Boolean | optimized | Flag to indicate if the code in this compilation unit is optimized |
String | compilationFlags | Additional tool specific flags |
UInt32 | runtimeVersion | Runtime version |
Returns
DICompileUnit | DICompileUnit |
CreateCompileUnit(SourceLanguage, String, String, String, Boolean, String, UInt32)
Creates a new DICompileUnit
Declaration
public DICompileUnit CreateCompileUnit(SourceLanguage language, string fileName, string fileDirectory, string producer, bool optimized, string compilationFlags, uint runtimeVersion)
Parameters
public DICompileUnit CreateCompileUnit(SourceLanguage language, string fileName, string fileDirectory, string producer, bool optimized, string compilationFlags, uint runtimeVersion)
SourceLanguage | language | SourceLanguage for the compilation unit |
String | fileName | Name of the source file of this compilation unit (without any path) |
String | fileDirectory | Path of the directory containing the file |
String | producer | Name of the application processing the compilation unit |
Boolean | optimized | Flag to indicate if the code in this compilation unit is optimized |
String | compilationFlags | Additional tool specific flags |
UInt32 | runtimeVersion | Runtime version |
Returns
DICompileUnit | DICompileUnit |