Back to Cmake

SOURCE_DIRS

Help/prop_tgt/SOURCE_DIRS.rst

4.4.0473 B
Original Source

SOURCE_DIRS

.. versionadded:: 4.4

Semicolon-separated list of base directories of the target's default source set (i.e. the file set with name and type SOURCES). The property supports :manual:generator expressions <cmake-generator-expressions(7)>.

This property is normally only set by :command:target_sources(FILE_SET) rather than being manipulated directly.

See :prop_tgt:SOURCE_DIRS_<NAME> for the list of base directories in other source sets.