mirror of https://github.com/odrling/Aegisub
Option to change parallel make options for gmake based VS projects
It seems that gmake can livelock in parallel make mode on Windows in some cases. This provides an escape hatch for those cases.
This commit is contained in:
parent
5bb4754e40
commit
5a4920c48f
|
@ -91,7 +91,7 @@
|
|||
>
|
||||
<ExecShellScript
|
||||
Command="make"
|
||||
Arguments="-j$(NUMBER_OF_PROCESSORS)"
|
||||
Arguments="$(GmakeParallelBuild)"
|
||||
WorkingDirectory="$(AegisubObjectDir)"
|
||||
Configuration="@(ExecShellScript)"
|
||||
/>
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
|
||||
<ExecShellScript
|
||||
Command="make"
|
||||
Arguments="-j$(NUMBER_OF_PROCESSORS)"
|
||||
Arguments="$(GmakeParallelBuild)"
|
||||
WorkingDirectory="$(AegisubObjectDir)"
|
||||
Configuration="@(ExecShellScript)"
|
||||
/>
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
</ExecShellScript>
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<GmakeParallelBuild Condition="'$(GmakeParallelBuild)'==''">-j$(NUMBER_OF_PROCESSORS)</GmakeParallelBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<UsingTask TaskName="ExecShellScript" AssemblyFile="$(AegisubBinaryDir)BuildTasks.dll" />
|
||||
<UsingTask TaskName="MsysPath" AssemblyFile="$(AegisubBinaryDir)BuildTasks.dll" />
|
||||
<UsingTask TaskName="UpdateFile" AssemblyFile="$(AegisubBinaryDir)BuildTasks.dll" />
|
||||
|
|
Loading…
Reference in New Issue