ExternalProject
ExternalProject is a module in CMake that provides a framework for integrating external software projects into a build. It enables downloading, configuring, building, and installing external sources as part of the overall project, often in an isolated build tree. This supports reproducible builds and helps manage dependencies that are not obtained from the system or require special build steps.
The main mechanism is the ExternalProject_Add command, which declares an external project by name and a set
Usage scenarios include bringing in third-party libraries or tools that are not available on the host system,
Alternatives and considerations: FetchContent provides a newer, more tightly integrated approach for bringing in dependencies at