AUTOGEN_PARALLEL integer value never used.
Documentation says positive integer value should be used if provided: https://cmake.org/cmake/help/latest/prop_tgt/AUTOGEN_PARALLEL.html
A positive non zero integer value sets the exact thread/process count.
Looking at the code here:
https://gitlab.kitware.com/cmake/cmake/-/blob/v3.24.3/Source/cmQtAutoGenInitializer.cxx#L459-468
When AUTOGEN_PARALLEL is empty
or AUTO
function GetParallelCPUCount
gets called and that will set the AutogenTarget.Parallel
value, else it will always be 1.
Edited by Brad King