|
MCC
|
Foundation package resolution and compatibility contract.

Foundation package resolution and compatibility contract.
MCC links Foundation::Foundation publicly and requires Foundation 2.0.10 or a newer 2.x release. Foundation 2 builds on CPSTL 1.1.12 or newer, which a Foundation package carries or finds; Arduino users install the CPSTL library next to Foundation. MCC rejects a package whose recorded platform differs from the selected MCC preset.
Resolution order (cmake/MCCFoundation.cmake):
Fetched content lives in build/<preset>/_deps/ and is reused across reconfigurations. FETCHCONTENT_SOURCE_DIR_FOUNDATION builds a local Foundation working copy instead of cloning, and -DMCC_FETCH_FOUNDATION=OFF disables network access.