cmGlobalGenerator: compute target features before synthetic targets

For `import std;` support, CMake needs to know the standard library
involved in order to ensure that the right target is linked. Afterwards,
the created synthetic targets need their target compile features
computed.
2 files changed