Files
CMake/Help/policy/CMP0188.rst
T
Brad King 2123244746 FindGCCXML: Add policy to remove this module
GCC-XML has been superseded by CastXML for a long time.

Closes: #26687
2025-02-17 11:35:25 -05:00

22 lines
718 B
ReStructuredText

CMP0188
-------
.. versionadded:: 4.1
The :module:`FindGCCXML` module is removed.
CMake 4.0 and below provide the :module:`FindGCCXML` module, but the GCC-XML
tool has long been superseded by CastXML. CMake 4.1 and above prefer to not
provide the :module:`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.
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1
.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
.. include:: STANDARD_ADVICE.txt
.. include:: DEPRECATED.txt