An example project utilizing the cmake build wrapper. The repo can either be pulled down once and placed within a developers environment, or it could be a submodule that can be setup with the users repo.
There are two ways to build this project, below both are listed.
Using the CMake Tools extension: first choose your preset then configure the project, once it is configured simply hit the build button.
At the minumum all you'll need to write to build the project is listed below.
cmake -DCMAKE_PATH={path_to_cmake} ..
cmake --build . --target install --parallel {number of cores}
The above command will build and install the project.