# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file LICENSE.rst or https://cmake.org/licensing for details. include_guard(GLOBAL) #[=======================================================================[.rst: ExternalProject --------------- .. only:: html .. contents:: This module provides commands to download and build external projects as part of CMake build phase. Load this module in a CMake project with: .. code-block:: cmake include(ExternalProject) External Project Definition ^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. command:: ExternalProject_Add The ``ExternalProject_Add()`` function creates a custom target to drive download, update/patch, configure, build, install and test steps of an external project: .. code-block:: cmake ExternalProject_Add( [