aussig / X-Plane-Backup-Library

Placeholder shim library for all major X-Plane® libraries
MIT License
9 stars 4 forks source link

Intelligent lib/ processing #1

Open aussig opened 5 years ago

aussig commented 5 years ago

We maintain a set of patterns starting with lib/ that we don't export to as they are part of the X-Plane built-in library system. We can't exclude all lib/ paths as some libraries publish to their own paths inside lib (strange but true) and we can't exclude all EXPORT_EXTEND entries because some libraries extend their own paths (stranger but truer).

The lib/ paths we ignore are currently hard-coded but it would be good if we could build this set by dynamically parsing all of X-Plane's built in libraries - then we would know for certain which paths we can and can't include.

aussig commented 5 years ago

Note that as of 2a4d507dc1da7e700c8f55a4cd4d9a85de7f34ed we no longer process EXPORT_EXTEND lines.