Browse Source

Changed the option for bitness to be writable and 64-bit by default for 64-bit builds.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/179/head
Dimitar Dobrev 12 years ago
parent
commit
aff6b2033a
  1. 7
      src/Generator/Options.cs

7
src/Generator/Options.cs

@ -44,6 +44,11 @@ namespace CppSharp
Encoding = Encoding.ASCII; Encoding = Encoding.ASCII;
CodeFiles = new List<string>(); CodeFiles = new List<string>();
Is32Bit = true;
#if IS_64_BIT
Is32Bit = false;
#endif
} }
// General options // General options
@ -128,7 +133,7 @@ namespace CppSharp
get { return GeneratorKind == GeneratorKind.CLI; } get { return GeneratorKind == GeneratorKind.CLI; }
} }
public bool Is32Bit { get { return true; } } public bool Is32Bit { get; set; }
public List<string> CodeFiles { get; private set; } public List<string> CodeFiles { get; private set; }
public readonly List<string> DependentNameSpaces = new List<string>(); public readonly List<string> DependentNameSpaces = new List<string>();

Loading…
Cancel
Save