mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 07:47:45 +01:00
IDE: project compiler options: disable create Makefile - it is only implemented for packages, bug #15748
git-svn-id: trunk@23771 -
This commit is contained in:
parent
9727287dbb
commit
86c21a75aa
@ -136,6 +136,7 @@ begin
|
|||||||
if Options is TProjectCompilerOptions then
|
if Options is TProjectCompilerOptions then
|
||||||
with TProjectCompilerOptions(Options) do
|
with TProjectCompilerOptions(Options) do
|
||||||
begin
|
begin
|
||||||
|
chkCreateMakefile.Enabled:=false;
|
||||||
lblRunIfCompiler.Visible := True;
|
lblRunIfCompiler.Visible := True;
|
||||||
chkCompilerCompile.AnchorToNeighbour(akLeft, 30, lblRunIfCompiler);
|
chkCompilerCompile.AnchorToNeighbour(akLeft, 30, lblRunIfCompiler);
|
||||||
chkCompilerCompile.Checked := crCompile in CompileReasons;
|
chkCompilerCompile.Checked := crCompile in CompileReasons;
|
||||||
@ -149,6 +150,7 @@ begin
|
|||||||
end
|
end
|
||||||
else if Options is TPkgCompilerOptions then
|
else if Options is TPkgCompilerOptions then
|
||||||
begin
|
begin
|
||||||
|
chkCreateMakefile.Enabled:=true;
|
||||||
lblRunIfCompiler.Visible := False;
|
lblRunIfCompiler.Visible := False;
|
||||||
chkCompilerCompile.AnchorParallel(akTop, 6, chkCompilerCompile.Parent);
|
chkCompilerCompile.AnchorParallel(akTop, 6, chkCompilerCompile.Parent);
|
||||||
chkCompilerCompile.AnchorParallel(akLeft, 6, chkCompilerCompile.Parent);
|
chkCompilerCompile.AnchorParallel(akLeft, 6, chkCompilerCompile.Parent);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user