mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
Add a helper class to read CPS files. Use this to teach find_package how to consider and accept .cps files in its search. (Note that no version testing is performed at this time.) Add a simple test that we can find a package from a .cps file and correctly extract the version information. Note that this doesn't actually import anything from CPS yet.
9 lines
151 B
Plaintext
9 lines
151 B
Plaintext
{
|
|
"cps_version": "0.13",
|
|
"name": "Sample",
|
|
"version": "2.10.11",
|
|
"compat_version": "2.0.0",
|
|
"cps_path": "@prefix@/cps",
|
|
"components": {}
|
|
}
|