Changeset 105 for trunk/Target
- Timestamp:
- May 6, 2019, 10:32:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Target/UTargetC.pas
r87 r105 123 123 Process := TProcess.Create(nil); 124 124 Process.CurrentDirectory := ExtractFilePath(CompilerPath); 125 Process.CommandLine := LongFileName(CompilerPath) + ' ' + LongFileName(CompiledFile) + ' -o ' + 126 LongFileName(ExtractFilePath(CompiledFile) + ExtractFileNameOnly(CompiledFile) + CompiledExtension); 125 Process.Executable := LongFileName(CompilerPath); 126 Process.Parameters.Add(LongFileName(CompiledFile)); 127 Process.Parameters.Add('-o'); 128 Process.Parameters.Add(LongFileName(ExtractFilePath(CompiledFile) + ExtractFileNameOnly(CompiledFile) + CompiledExtension)); 127 129 Process.Options := [poWaitOnExit]; 128 130 Process.Execute;
Note:
See TracChangeset
for help on using the changeset viewer.