|
|
@ -84,7 +84,6 @@ namespace CppSharp.Parser |
|
|
|
TargetTriple.Contains("windows") || TargetTriple.Contains("msvc"); |
|
|
|
TargetTriple.Contains("windows") || TargetTriple.Contains("msvc"); |
|
|
|
|
|
|
|
|
|
|
|
public bool EnableRTTI { get; set; } |
|
|
|
public bool EnableRTTI { get; set; } |
|
|
|
public bool EnableExceptions { get; set; } |
|
|
|
|
|
|
|
public LanguageVersion? LanguageVersion { get; set; } |
|
|
|
public LanguageVersion? LanguageVersion { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
public void BuildForSourceFile( |
|
|
|
public void BuildForSourceFile( |
|
|
@ -376,9 +375,6 @@ namespace CppSharp.Parser |
|
|
|
|
|
|
|
|
|
|
|
if (!EnableRTTI) |
|
|
|
if (!EnableRTTI) |
|
|
|
AddArguments("-fno-rtti"); |
|
|
|
AddArguments("-fno-rtti"); |
|
|
|
|
|
|
|
|
|
|
|
if (EnableExceptions) |
|
|
|
|
|
|
|
AddArguments("-fexceptions"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
internal string BuiltinsDirBasePath |
|
|
|
internal string BuiltinsDirBasePath |
|
|
|