bug fix #620
This commit is contained in:
parent
082fe67a18
commit
bcbb605280
|
|
@ -271,6 +271,8 @@ namespace PascalABCCompiler
|
|||
Console.WriteLine(msg);
|
||||
DateTime ldt = DateTime.Now;
|
||||
CompilerOptions co = new CompilerOptions(FileName, outputType);
|
||||
if (FileName.ToLower().EndsWith(".pabcproj"))
|
||||
co.ProjectCompiled = true;
|
||||
if (OutputDirectory != "")
|
||||
co.OutputDirectory=OutputDirectory;
|
||||
co.Rebuild = Rebuild;
|
||||
|
|
|
|||
|
|
@ -65,6 +65,8 @@ namespace PascalABCCompiler
|
|||
outputType = CompilerOptions.OutputType.ConsoleApplicaton;
|
||||
|
||||
CompilerOptions co = new CompilerOptions(FileName, outputType);
|
||||
if (FileName.ToLower().EndsWith(".pabcproj"))
|
||||
co.ProjectCompiled = true;
|
||||
if (args.Length==1)
|
||||
co.OutputDirectory = "";
|
||||
else co.OutputDirectory = args[1];
|
||||
|
|
|
|||
Loading…
Reference in a new issue