Lesson plan
Common Package Specification
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.
Article summary
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.
Key claims
No claims recorded.
Discussion questions
- Summarise the article in your own words. Which single claim would you verify first, and why?
- Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
- If two sources disagreed about one of these facts, what would you need in order to trust one over the other?
Bibliography
No sources recorded.
Key claims and bibliography are generated from the same tracked claims and sources as the article page.