summaryrefslogtreecommitdiff
path: root/Help/prop_gbl/USE_FOLDERS.rst
blob: 965b5d6ef888edaa27080c0542865ed12ad3b264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
USE_FOLDERS
-----------

Use the :prop_tgt:`FOLDER` target property to organize targets into
folders.

.. versionchanged:: 3.26

  CMake treats this property as ``ON`` by default.
  See policy :policy:`CMP0143`.

CMake generators that are capable of organizing into a hierarchy of folders
use the values of the :prop_tgt:`FOLDER` target property to name those
folders. (i.e.: Visual Studio / XCode)

IDE's can also take advantage of this property to organize CMake targets.
Regardless of generator support.

See also the documentation for the :prop_tgt:`FOLDER` target property.