Menu ▾ ▴

#90 CheckPackages.ps1 checks only the Release configuration of each .dproj

unread
nobody
packages (6)
2026-10-19
2026-10-19
No

packages/CheckPackages.ps1 takes the defines, unit scope names and unit aliases from the Base and Release configuration groups of each .dproj only. It never builds a package with its Debug settings, so it does not notice

  • units that are used only under {$IFDEF DEBUG} and are missing from contains
  • a Debug configuration that cannot build the package at all

The second case exists: the Debug configuration of packages/delphi2007/dzComponentsR.dproj fails with F1026 File not found: 'dzlib.inc' ([bugs:#89]), and the script passes that package.

It could compile every configuration the .dproj defines, or at least Debug and Release.

Related

Bug Reports: #89

Discussion


Log in to post a comment.