<LANG>_ICSTAT — CMake 4.1.4 Documentation

# <LANG>_ICSTAT

Added in version 4.1.

This property is supported only when `<LANG>` is `C` or `CXX`.

Specify a semicolon-separated list containing a command line for the `icstat` static analysis tool. The Makefile Generators and the Ninja Generators will run `icstat` along with the compiler and report any problems. The build will fail if the `icstat` tool returns non-zero.

This property is initialized by the value of the `CMAKE_<LANG>_ICSTAT` variable if it is set when a target is created. It also supports `generator expressions`.

This lint may be suppressed for individual source files by setting the `SKIP_LINTING` source file property.