In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
Add the "cmake.configureSettings" section to vs code's settings.json.
For remote development, using 'open remote settings' to open settings.json.
{
"cmake.configureSettings": {
"CMAKE_TOOLCHAIN_FILE": "<vcpkg root folder>/scripts/buildsystems/vcpkg.cmake"
}
}