Skip to content

cmCommonTargetGenerator: Factor out generation of code check rules

Shannon Booth requested to merge shannonbooth/cmake:tidy-non-generated into master

EDIT: This has been converted to a refactor-only change.

Original Description

I'm interested in working on #19772 (closed) with what was discussed in the comments of the issue, however I have an implementation questions for if I work on this:

  1. Is there an easy way of getting access to source file properties in void cmNinjaTargetGenerator::WriteLanguageRules(language, config) (similar question for the Makefile target generator)? I'm not sure what the correct way is of getting this property from just the std::string sourceFile path.

Issue: #19772 (closed)

Edited by Brad King

Merge request reports