I’m looking into creating a new generator.
I’m able too see the Name given to add_custom_target from target->GetName(), and
the target type is cmStateEnums::UTILITY. I am able to see the full path of generated file by calling target->GetSourceFiles() then cmSourceFile.ResolveFullPath(), i see one output file and one .rule.
However, I cannot figure out how to retrieve the COMMAND portion of add_custom_target given in the cmake file.