mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 23:08:05 +02:00
IdeConfig: Check that package does not include LCL
This commit is contained in:
parent
08d0445778
commit
d9728c785f
@ -127,6 +127,10 @@ Files in this package are for the main configuration of the IDE."/>
|
||||
<Filename Value="include\linux\lazconf.inc"/>
|
||||
<Type Value="Include"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Filename Value="ideconfigpcktest.pas"/>
|
||||
<UnitName Value="IdeConfigPckTest"/>
|
||||
</Item>
|
||||
</Files>
|
||||
<i18n>
|
||||
<EnableI18N Value="True"/>
|
||||
|
@ -12,7 +12,7 @@ uses
|
||||
EditorToolBarOptions, EnvironmentOpts, etFPCMsgFilePool, etMakeMsgParser, FppkgHelper,
|
||||
IDECmdLine, IdeConfStrConsts, IDEGuiCmdLine, IDEOptionDefs, IDEProcs, IdeXmlConfigProcs,
|
||||
LazConf, ModeMatrixOpts, ParsedCompilerOpts, ProjPackCommon, RecentListProcs, SearchPathProcs,
|
||||
ToolBarOptionsBase, TransferMacros, LazarusPackageIntf;
|
||||
ToolBarOptionsBase, TransferMacros, IdeConfigPckTest, LazarusPackageIntf;
|
||||
|
||||
implementation
|
||||
|
||||
|
17
ide/packages/ideconfig/ideconfigpcktest.pas
Normal file
17
ide/packages/ideconfig/ideconfigpcktest.pas
Normal file
@ -0,0 +1,17 @@
|
||||
unit IdeConfigPckTest;
|
||||
|
||||
(*
|
||||
The package IdeConfig can be used by command line tools (like LazBuild).
|
||||
Therefore it should not depend on the LCL or GUI related packages
|
||||
*)
|
||||
|
||||
{$IFDEF LCL}
|
||||
{$error The package IdeConfig must not depend on the LCL}
|
||||
{$ENDIF}
|
||||
|
||||
interface
|
||||
|
||||
implementation
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user