Files
CMake/Help/prop_sf/VS_TOOL_OVERRIDE.rst
Nikita Nemkin 8fa9858e20 Help: Improve VS_SETTINGS and VS_TOOL_OVERRIDE documentation
Reorder paragraphs, adjust version notes, add cross-references,
note the ability to exclude files from the build.

Fixes: #11902
2025-02-19 21:07:03 +05:00

16 lines
461 B
ReStructuredText

VS_TOOL_OVERRIDE
----------------
.. versionadded:: 3.7
Override the MSBuild item type of a source file in a Visual Studio project.
Together with :prop_sf:`VS_SETTINGS`, this property can be used to configure
items for custom MSBuild tasks.
Setting the item type to ``None`` will exclude the file from the build.
.. versionchanged:: 3.31
This property is honored for all source file types.
Previously, it only worked for source types unknown to CMake.