The scanner produces the source file dependency output directly, the preprocessing and scanning are a single process without any intermediate artifacts. build2-style preprocesses, writes the entire preprocessed source file to disk, then scans that again. It's just more steps and expensive file IO.
View all comments
Show parent comment
3
u/not_a_novel_account cmake dev Mar 11 '26
The scanner produces the source file dependency output directly, the preprocessing and scanning are a single process without any intermediate artifacts.
build2-style preprocesses, writes the entire preprocessed source file to disk, then scans that again. It's just more steps and expensive file IO.