fileapi: report sysroot as part of toolchain
Currently, sysroot
property is reported as part of codemodel
object kind in CMake file API. https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html#codemodel-version-2-target-object
However, the new toolchain
object looks like a better candidate for sysroot
property. To preserve backward compatibility, it's possible to report sysroot
both in codemodel
and in toolchain
.