PROJECT_COMPAT_VERSION

在 4.1 版被加入.

備註

Experimental. Gated by CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO.

Value given to the COMPAT_VERSION option of the most recent call to the project() command, if any. To obtain the compatibility version of the top level project, see the CMAKE_PROJECT_COMPAT_VERSION variable.