CMakePresets: hardware thread count (number of cores) variable
I recently migrated a CMake project to CMakePresets feature. It is all fine except I haven't able to find a way to get hardware thread count in CMakePresets.json file (unless explicitly providing it as environment variable or CMake variable). Some of the build systems (e.g. make) require job count for parallelism.
So, I am recommending adding a CMakePresets variable that contains the core count/hardware thread count of the system convenience.