presets: Provide Macro for NUMBER_OF_PROCESSORS
Currently in build presets I can set a specific number of jobs. This is than passed to the build system
"buildPresets": [
{
"name": "default",
"hidden": true,
"jobs": 16
}
However on different machines there are different number of cores.
Like the ${pathListSep} does for the OS it would be really nice to have a macro that evaluates to NUMBER_OF_PROCESSORS
.
(or if that is not possible use NUMBER_OF_PROCESSORS
as default value instead of 1)
Edited by Brad King