Can the CMake File API provide the necessary information to build a project?

I would like to use the CMake File API to parse the build targets of a project and retrieve information such as their source files, include paths, compilation options, and so on. My intention is to port this information to my own build system. Is the CMake File API sufficient to provide this information, and is the proposed idea feasible?

It sounds like it should be sufficient. You can find a full description of what the file API provides here:

Isn’t this a situation where one might be interested in implementing a CMake generator?