VS_TOOL_OVERRIDE — CMake 4.3.2 Documentation

# VS_TOOL_OVERRIDE

Added in version 3.7.

Override the MSBuild item type of a source file in a Visual Studio project.

Together with `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.

Changed in version 3.31: This property is honored for all source file types. Previously, it only worked for source types unknown to CMake.