When building using a cmake build preset, if I specify "jobs": 0 in my build preset, I get inconsistent parallelism between the command line and CMakeTools build command/button. The command line cmake --build --preset=debug will compile in parallel while the CMakeTools build command will compile sequentially. This happens regardless of the cmake.parallelJobs setting (I've tried 0 and 8).
CMake Tools Diagnostics
Debug Log
Additional Information
I am using make and g++ on linux.
I also noticed that if the "jobs" line in the cmake build preset is removed, the cmake.parallelJobs setting also has no influence - I would expect this setting to be the default if a build preset doesn't specify anything.
@kennon-mckeever Can this problem be reproduced for all programs? Or only the specified items can be reproduced, could you provide us with your reproduced items?
Brief Issue Summary
When building using a cmake build preset, if I specify
"jobs": 0
in my build preset, I get inconsistent parallelism between the command line and CMakeTools build command/button. The command linecmake --build --preset=debug
will compile in parallel while the CMakeTools build command will compile sequentially. This happens regardless of thecmake.parallelJobs
setting (I've tried 0 and 8).CMake Tools Diagnostics
Debug Log
Additional Information
I am using make and g++ on linux.
I also noticed that if the
"jobs"
line in the cmake build preset is removed, thecmake.parallelJobs
setting also has no influence - I would expect this setting to be the default if a build preset doesn't specify anything.