Let's say I have this definition
<MSBuild
Projects="$(MSBuildProjectFile)"
Condition="'@(FilesToCompile)' != ''"
Targets="buildcpp"
Properties="CPPFILE=%(FilesToCompile.FullPath);OBJFILE=$(ObjectFolder)\%(FilesToCompile.Filename).doj;IncludeDirs=$(IncludeDirs)"
/>
This target is executed multiple times due to task batching, once for each file in FilesToCompile
. Importantly, each invocation is completely independent, making it perfect for parallelization.
QUESTION
How do I enable "parallel-mode" for task batching?
NOT A DUPLICATE
I want to invoke the same target multiple times with different property values and to do that, I need the batching to be done in parallel.
The linked question does not do batching and it uses different projects.