Keep full descriptor metadata as the default and add an opt-in structural profile for conversion-oriented late-bound API v2 users. Strip descriptive and constraint text while retaining the complete runtime descriptor graph. Pass the profile through CMake and correct the scanner's compact late-bound file lists. AP242e4 full-to-structural measurements: Generated output falls from 54,839 lines and 3,304,007 bytes to 29,993 lines and 1,525,897 bytes. The packed schema source shrinks 68.1%. The schema DSO falls from 2,178,296 to 720,120 bytes, and peak compile RSS drops 6.8%. File count and 49 ELF relocations are unchanged. The NIST AP242e4 sample still creates and validates all 10,609 instances with no errors or warnings and writes the same 949,685-byte semantic result. Twenty read/write runs improve from 4.76 to 4.71 seconds and peak RSS falls from 82,276 to 78,900 KiB.
README for STEPcode schema scanner -------------- The files in this directory are for a schema scanner executable, built by CMake during the configuration stage. This scanner is used to determine the file names that exp2cxx will use. In CMake, all file names must be known before configuration finishes - so it is necessary to parse the schemas early. This appears to be a standalone project to CMake, but it is intended to be built only as part of STEPcode. It is configured, built, and executed during the configuration stage of STEPcode.