With Delphi 12.3 32-bit and github.com/marsupilami79/zeoslib branch 8.0-patches as of 2025-10-06 21:09:24, compiling with only Zeos.inc {.$DEFINE ZEOS_DISABLE_INTERBASE} fails as below but succeeds with {.$DEFINE ZEOS_DISABLE_SQLITE}:
[dcc32 Error] ZTestDbcGeneric.pas(1903): E2003 Undeclared identifier: 'ConnProps_ForeignKeys'
[dcc32 Fatal Error] ZTestAll.dpr(116): F2063 Could not compile used unit 'ZTestDbcGeneric.pas'
ZTestAll should be able to validate a lean build for a specific driver.