Skip to content

msclock/cmake-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A cmake registry

This is a cmake modules registry based on vcpkg and accepts cmake module registration. Once a cmake module repository is registered, it will automatically detect and make a pr to update by renovate.

Usage

Just register the cmake registry to the vcpkg configuration.

{
  "registries": [
    {
      "kind": "git",
      "baseline": "b58077c46126bee7c5cd54c26a4b974055c21d2b",
      "repository": "https://github.com/msclock/cmake-registry",
      "packages": [
        "cmake-modules",
        "vcpkg-cmake-module"
      ]
    }
  ]
}

Add the modules to vcpkg configuration dependencies.

{
  "dependencies": [
    "cmake-modules"
  ],
  "overrides": [
    {
      "name": "cmake-modules",
      "version": "x.x.x"  <---------- lock the cmake module version.
    }
  ]
}

There is an example can refer.