Hi all,
I am trying to build code on WSL2 by Visual Studio 2022 + CMake
It's build-able, run-able, debug-able, just the build time is long and the CPU utilization is pretty low < 20%.
I tried googling, found I need to set the available processor numbers for WSL2 VM
But seems the change only is not helpful.
Then, I checked the cmake documentation: https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html
There is
jobs
An optional integer. Equivalent to passing --parallel or -j on the command line.
Seems it's disallowed, why?
How to leverage the multicore CPU? Thank you.