You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are two developer using more or less identical vscode setups.
We are however experiencing different cmake behaviour.
We have a cmake project using CMakePresets. In CMakePresets.json there is no "Jobs" attribute.
When I change the "cmake.parallelJobs" setting in vscode I get a cmake command line that reflects that value including "--parallel xx".
My colleague, however, get a cmake build command with no "--parallel xx" argument at all. It doesn't matter what value he chooses or if he removes it entirely from his user settings. It always runs the cmake build command without "--parallel xx".
The only way he can get some kind of "--parallel" argument is by adding "jobs" to his build preset in CMakePresets.json.
Does this ring a bell in this forum what he could've done different than on my setup to provoke this kind of behaviour?
We have even tried to copy his entire user settings json to my installation. But I still get a cmake command that obeys what I have in cmake.parallelJobs
Regards
Klaus
The text was updated successfully, but these errors were encountered:
Bonus info: On my machine i tried adding "jobs" to my CMakePresets.json file. But it will simply not read that. cmake.parallelJobs is not set!
So we have two setups:
1: Will not use cmake.parallelJobs. It will not add add "--parallel xx" to the generated cmake build command at all when not using CMakePresets.json "jobs".
2: Will not use CMakePresets.json "jobs", but will use cmake.parallelJobs and add "--parallel xx" to generated cmake command.
@klausholstjacobsen Any kind of repro projects that you're able to share in a zip file would be great, this will help ensure that we have the exact project repros.
Discussed in #4250
Originally posted by klausholstjacobsen January 23, 2025
Hello
vscode: 1.96.4
cmake-tools: 1.19.52
cmake 3.28.1
OS: wsl2 ubuntu 22.04
We are two developer using more or less identical vscode setups.
We are however experiencing different cmake behaviour.
We have a cmake project using CMakePresets. In CMakePresets.json there is no "Jobs" attribute.
When I change the "cmake.parallelJobs" setting in vscode I get a cmake command line that reflects that value including "--parallel xx".
My colleague, however, get a cmake build command with no "--parallel xx" argument at all. It doesn't matter what value he chooses or if he removes it entirely from his user settings. It always runs the cmake build command without "--parallel xx".
The only way he can get some kind of "--parallel" argument is by adding "jobs" to his build preset in CMakePresets.json.
Does this ring a bell in this forum what he could've done different than on my setup to provoke this kind of behaviour?
We have even tried to copy his entire user settings json to my installation. But I still get a cmake command that obeys what I have in cmake.parallelJobs
Regards
Klaus
The text was updated successfully, but these errors were encountered: