mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
ExternalProject: Clarify documented role of INSTALL_DIR
It does not actually configure the project to install to the given location. That must be done by passing the `<INSTALL_DIR>` placeholder to the external project configuration step.
This commit is contained in:
@@ -174,7 +174,10 @@ Create custom targets to build projects in external trees
|
|||||||
Install step options are:
|
Install step options are:
|
||||||
|
|
||||||
``INSTALL_DIR <dir>``
|
``INSTALL_DIR <dir>``
|
||||||
Installation prefix
|
Installation prefix to be placed in the ``<INSTALL_DIR>`` placeholder.
|
||||||
|
This does not actually configure the external project to install to
|
||||||
|
the given prefix. That must be done by passing appropriate arguments
|
||||||
|
to the external project configuration step, e.g. using ``<INSTALL_DIR>``.
|
||||||
``INSTALL_COMMAND <cmd>...``
|
``INSTALL_COMMAND <cmd>...``
|
||||||
Command to drive installation of the external project after it has been
|
Command to drive installation of the external project after it has been
|
||||||
built. This only happens at the *build* time of the calling project.
|
built. This only happens at the *build* time of the calling project.
|
||||||
|
|||||||
Reference in New Issue
Block a user