This commit is contained in:
Basile Burg 2016-09-17 20:56:24 +02:00
parent 44ce9decf5
commit 337cf1bbbb
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 10 additions and 8 deletions

View File

@ -2974,6 +2974,7 @@ begin
fRunProjAfterCompile := true; fRunProjAfterCompile := true;
if fAppliOpts.autoSaveProjectFiles then if fAppliOpts.autoSaveProjectFiles then
saveModifiedProjectFiles(fProject); saveModifiedProjectFiles(fProject);
if fAppliOpts.showBuildDuration then
fCompStart := Time; fCompStart := Time;
fProject.compile; fProject.compile;
end; end;
@ -2984,6 +2985,7 @@ begin
fRunProjAfterCompArg := true; fRunProjAfterCompArg := true;
if fAppliOpts.autoSaveProjectFiles then if fAppliOpts.autoSaveProjectFiles then
saveModifiedProjectFiles(fProject); saveModifiedProjectFiles(fProject);
if fAppliOpts.showBuildDuration then
fCompStart := Time; fCompStart := Time;
fProject.compile; fProject.compile;
end; end;
@ -3000,11 +3002,11 @@ begin
begin begin
if fAppliOpts.autoSaveProjectFiles then if fAppliOpts.autoSaveProjectFiles then
saveModifiedProjectFiles(fProject); saveModifiedProjectFiles(fProject);
if fAppliOpts.showBuildDuration then
fCompStart := Time; fCompStart := Time;
fProject.compile; fProject.compile;
end; end;
if fProject.outputFilename.fileExists if fProject.outputFilename.fileExists or (fProject.getFormat = pfDub) then
or (fProject.getFormat = pfDub) then
fProject.run; fProject.run;
end; end;
@ -3028,7 +3030,6 @@ begin
if act.Tag = 0 then exit; if act.Tag = 0 then exit;
// //
widg := TCEWidget(act.Tag); widg := TCEWidget(act.Tag);
if widg.isDockable then if widg.isDockable then
begin begin
if DockMaster.GetAnchorSite(widg).GetTopParent = DockMaster.GetAnchorSite(widg) then if DockMaster.GetAnchorSite(widg).GetTopParent = DockMaster.GetAnchorSite(widg) then
@ -3484,6 +3485,7 @@ begin
fGroupCompilationCnt := 0; fGroupCompilationCnt := 0;
fIsCompilingGroup := true; fIsCompilingGroup := true;
fMsgs.message('start compiling a project group...', nil, amcAll, amkInf); fMsgs.message('start compiling a project group...', nil, amcAll, amkInf);
if fAppliOpts.showBuildDuration then
fCompStart := Time; fCompStart := Time;
for i:= 0 to fProjectGroup.projectCount-1 do for i:= 0 to fProjectGroup.projectCount-1 do
begin begin