summaryrefslogtreecommitdiff
path: root/Help/command/source_group.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/source_group.rst')
-rw-r--r--Help/command/source_group.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/source_group.rst b/Help/command/source_group.rst
index 5ae9e51444..5db1ec8c54 100644
--- a/Help/command/source_group.rst
+++ b/Help/command/source_group.rst
@@ -14,12 +14,16 @@ This is intended to set up file tabs in Visual Studio.
The options are:
``TREE``
+ .. versionadded:: 3.8
+
CMake will automatically detect, from ``<src>`` files paths, source groups
it needs to create, to keep structure of source groups analogically to the
actual files and directories structure in the project. Paths of ``<src>``
files will be cut to be relative to ``<root>``.
``PREFIX``
+ .. versionadded:: 3.8
+
Source group and files located directly in ``<root>`` path, will be placed
in ``<prefix>`` source groups.
@@ -47,6 +51,9 @@ appropriately:
source_group(outer\\inner ...)
source_group(TREE <root> PREFIX sources\\inc ...)
+.. versionadded:: 3.18
+ Allow using forward slashes (``/``) to specify subgroups.
+
For backwards compatibility, the short-hand signature
.. code-block:: cmake