Common Package Specification

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

The Common Package Specification is an open file standard to describe how to use a software package. It is based on JSON and allows build systems to discover dependencies and link applications independent of how the package was originally generated. The CPS file contains information for a library like its version, file name of its dynamic library, or software license. Every library must provide its own CPS file which has to be distributed together with the library. Build systems of consuming software projects search for CPS files and use the information to verify that version constrains are fulfilled, which flags to use, and where to find the library. While the development is driven by Kitware employees, the company behind CMake, it is tool agnostic. CMake started to support CPS in an experimental form in 4.0; since version 4.3 it is no longer experimental.

The Common Package Specification is an open file standard to describe how to use a software package. It is based on JSON and allows build systems to discover dependencies and link applications independent of how the package was originally generated. The CPS file contains information for a library like its version, file name of its dynamic library, or software license. Every library must provide its own CPS file which has to be distributed together with the library. Build systems of consuming software projects search for CPS files and use the information to verify that version constrains are fulfilled, which flags to use, and where to find the library. While the development is driven by Kitware employees, the company behind CMake, it is tool agnostic. CMake started to support CPS in an experimental form in 4.0; since version 4.3 it is no longer experimental.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1377992362 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001377992362 · captured 1790924996.0 · version history

Cite this page as: encyclopegia.org, “Common Package Specification”, snapshot enwiki-001377992362. https://encyclopegia.org/a/common-package-specification

Sources cited in this revision

4 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.