Changeset 83 for trunk/UTarget.pas
- Timestamp:
- Aug 4, 2017, 9:11:00 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTarget.pas
r72 r83 144 144 resourcestring 145 145 SCompilerNotFound = 'Compiler "%s" not found'; 146 SExecutorNotFound = 'Executor "%s" not found'; 146 147 SCompiledFileNotFound = 'Program compiled file "%s" not found'; 147 148 … … 420 421 Free; 421 422 end; 422 if CompilerPath <> '' then begin 423 if FileExistsUTF8(CompilerPath) then 423 if FileExistsUTF8(CompilerPath) then 424 424 try 425 425 Process := TProcess.Create(nil); … … 441 441 Process.Free; 442 442 end else raise Exception.Create(Format(SCompilerNotFound, [CompilerPath])); 443 end;444 443 end; 445 444 … … 456 455 'compiled' + DirectorySeparator + Name + DirectorySeparator + 457 456 ExtractFileNameOnly(ProjectFileName) + RunExtension; 457 if not FileExistsUTF8(ExecutorPath) then 458 raise Exception.Create(Format(SExecutorNotFound, [ExecutorPath])); 458 459 if FileExistsUTF8(CompiledFile) then 459 460 try
Note:
See TracChangeset
for help on using the changeset viewer.