From bfdeb65a0c0eb57c3a73a8d01165084179001cb2 Mon Sep 17 00:00:00 2001 From: Rustan Leino Date: Tue, 15 Nov 2011 19:16:47 -0800 Subject: DafnyExtension: fixed build problems --- Util/VS2010/DafnyExtension/DafnyExtension/DafnyDriver.cs | 9 ++++----- .../DafnyExtension/DafnyExtension/DafnyExtension.csproj | 11 ----------- 2 files changed, 4 insertions(+), 16 deletions(-) (limited to 'Util') diff --git a/Util/VS2010/DafnyExtension/DafnyExtension/DafnyDriver.cs b/Util/VS2010/DafnyExtension/DafnyExtension/DafnyDriver.cs index 3c2393bb..19a5e1df 100644 --- a/Util/VS2010/DafnyExtension/DafnyExtension/DafnyDriver.cs +++ b/Util/VS2010/DafnyExtension/DafnyExtension/DafnyDriver.cs @@ -7,7 +7,7 @@ using System.Diagnostics; using System.Diagnostics.Contracts; // Here come the Dafny/Boogie specific imports //using PureCollections; -using Microsoft.Boogie; +using Bpl = Microsoft.Boogie; using Dafny = Microsoft.Dafny; using Microsoft.Boogie.AbstractInterpretation; using VC; @@ -112,10 +112,9 @@ namespace DafnyLanguage } static void Initialize() { - CommandLineOptions.Clo.RunningBoogieOnSsc = false; - CommandLineOptions.Clo.TheProverFactory = ProverFactory.Load("Z3"); - CommandLineOptions.Clo.ProverName = "Z3"; - CommandLineOptions.Clo.vcVariety = CommandLineOptions.Clo.TheProverFactory.DefaultVCVariety; + if (Dafny.DafnyOptions.O == null) { + Dafny.DafnyOptions.Install(new Dafny.DafnyOptions()); + } } public Dafny.Program Process() { diff --git a/Util/VS2010/DafnyExtension/DafnyExtension/DafnyExtension.csproj b/Util/VS2010/DafnyExtension/DafnyExtension/DafnyExtension.csproj index 55f2ee34..4ae02e17 100644 --- a/Util/VS2010/DafnyExtension/DafnyExtension/DafnyExtension.csproj +++ b/Util/VS2010/DafnyExtension/DafnyExtension/DafnyExtension.csproj @@ -76,14 +76,6 @@ False ..\..\..\..\Binaries\VCGeneration.dll - - False - ..\..\Binaries\System.Compiler.dll - - - False - ..\..\Binaries\System.Compiler.Runtime.dll - False @@ -130,8 +122,6 @@ - - @@ -145,7 +135,6 @@ - Designer -- cgit v1.2.3