aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.Protobuf.CLI')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Options.cs3
-rw-r--r--Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Program.cs14
2 files changed, 0 insertions, 17 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Options.cs b/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Options.cs
index ba4c2213e..506e3ed50 100644
--- a/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Options.cs
+++ b/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Options.cs
@@ -22,9 +22,6 @@ namespace Tango.Protobuf.CLI
[Option("c", Required = false, HelpText = "Optional folder names to exclusively include (separated by commas).")]
public String Includes { get; set; }
- [Option("m", Required = false, HelpText = "Perform code size optimization for C compiler by omitting all hard coded strings.")]
- public bool Min { get; set; }
-
[ParserState]
public IParserState LastParserState { get; set; }
diff --git a/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Program.cs b/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Program.cs
index a1ae39c31..91f0e0ef7 100644
--- a/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Program.cs
+++ b/Software/Visual_Studio/Utilities/Tango.Protobuf.CLI/Program.cs
@@ -1,11 +1,9 @@
using System;
using System.Collections.Generic;
-using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
-using Tango.Protobuf.Compilers;
namespace Tango.Protobuf.CLI
{
@@ -63,12 +61,6 @@ namespace Tango.Protobuf.CLI
{
var compiler = CompilerFactory.CreateCompiler(language);
- if (options.Min && compiler is CCompiler)
- {
- (compiler as CCompiler).Minimize = true;
- }
-
-
compiler.CompilationProgress += (x, e) =>
{
try
@@ -114,12 +106,6 @@ namespace Tango.Protobuf.CLI
private static int ExitError(String error)
{
Console.WriteLine(error);
-
- if (Debugger.IsAttached)
- {
- Console.ReadLine();
- }
-
return -1;
}