CPACKPACKAGEVERSIONMINOR
CPACKPACKAGEVERSIONMINOR is a variable used within the CMake build system, specifically in conjunction with CPack, CMake's installer packaging generator. This variable is intended to represent the minor version component of a software package being built. When CPack is configured to generate an installer, it often uses these version variables to embed version information into the resulting package. For example, if a project's version is defined as "1.2.3", CPACKPACKAGEVERSIONMINOR would typically be set to "2". This allows the generated installer to accurately reflect the software's version. Developers configure these version variables within their CMakeLists.txt files, usually by setting them to specific string values or deriving them from other project-defined version variables. The precise interpretation and usage of CPACKPACKAGEVERSIONMINOR can be influenced by the specific CPack generator being employed and any custom configurations applied to the packaging process. It's a key element in ensuring that generated software installers are correctly versioned.