1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 21:40:15 +08:00

ExternalProject: Document that LIST_SEPARATOR works for CMAKE_ARGS too

Since `CMAKE_ARGS` is used to construct the default `CONFIGURE_COMMAND`
for CMake-based external projects, the `LIST_SEPARATOR` option works for
it too.
This commit is contained in:
Brad King
2022-03-11 11:15:53 -05:00
parent 736e80dbca
commit c4117d9116

View File

@@ -807,11 +807,11 @@ External Project Definition
**Miscellaneous Options:** **Miscellaneous Options:**
``LIST_SEPARATOR <sep>`` ``LIST_SEPARATOR <sep>``
For any of the various ``..._COMMAND`` options, replace ``;`` with For any of the various ``..._COMMAND`` options, and ``CMAKE_ARGS``,
``<sep>`` in the specified command lines. This can be useful where list replace ``;`` with ``<sep>`` in the specified command lines.
variables may be given in commands where they should end up as This can be useful where list variables may be given in commands where
space-separated arguments (``<sep>`` would be a single space character they should end up as space-separated arguments (``<sep>`` would be a
string in this case). single space character string in this case).
``COMMAND <cmd>...`` ``COMMAND <cmd>...``
Any of the other ``..._COMMAND`` options can have additional commands Any of the other ``..._COMMAND`` options can have additional commands