From a219ea4b842877a5cc041c8dad5aeecb72b60f59 Mon Sep 17 00:00:00 2001 From: triton Date: Thu, 31 Oct 2013 01:41:43 +0000 Subject: [PATCH] Disabled symbol checking by default. This feature still needs some work to be totally robust and it makes the tool not generate bindings by default so disable it for now. --- src/Generator/Options.cs | 2 +- src/Generator/Utils/TestsUtils.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Generator/Options.cs b/src/Generator/Options.cs index b6b81852..b9325d2f 100644 --- a/src/Generator/Options.cs +++ b/src/Generator/Options.cs @@ -32,7 +32,7 @@ namespace CppSharp OutputDir = Directory.GetCurrentDirectory(); Libraries = new List(); - CheckSymbols = true; + CheckSymbols = false; GeneratorKind = GeneratorKind.CSharp; GenerateLibraryNamespace = true; diff --git a/src/Generator/Utils/TestsUtils.cs b/src/Generator/Utils/TestsUtils.cs index f840b960..03e2390a 100644 --- a/src/Generator/Utils/TestsUtils.cs +++ b/src/Generator/Utils/TestsUtils.cs @@ -59,7 +59,6 @@ namespace CppSharp.Utils options.OutputDir = Path.Combine(GetOutputDirectory(), "gen", name); options.SharedLibraryName = name + ".Native"; options.GenerateLibraryNamespace = true; - options.CheckSymbols = false; options.Quiet = true; options.IgnoreParseWarnings = true;