CMP0188 — CMake 4.3.3 Documentation

# CMP0188

Added in version 4.1.

The `FindGCCXML` module is removed.

CMake 4.0 and below provide the `FindGCCXML` module, but the GCC-XML tool has long been superseded by CastXML. CMake 4.1 and above prefer to not provide the `FindGCCXML` module. This policy provides compatibility for projects that have not been ported away from it.

The `OLD` behavior of this policy is for `find_package(GCCXML)` to load the deprecated module. The `NEW` behavior is for `find_package(GCCXML)` to fail as if the module does not exist.

This policy was introduced in CMake version 4.1. It may be set by `cmake_policy()` or `cmake_minimum_required()`. If it is not set, CMake warns, and uses `OLD` behavior.

Note

The `OLD` behavior of a policy is deprecated by definition and may be removed in a future version of CMake.