Using a window's specific command for the transcoder

This commit is contained in:
Zoe Roux 2021-04-15 22:21:08 +02:00
parent a4f42dfee4
commit d0166fcf8d
2 changed files with 5 additions and 2 deletions

@ -1 +1 @@
Subproject commit c6baba6b269dd38d6ed3d5c6fc73db7e1561a927
Subproject commit 10d3875148d0f5f6e12a59d28b75539cb4b99f57

View File

@ -113,7 +113,10 @@
</Target>
<Target Name="BuildTranscoder" BeforeTargets="BeforeBuild" Condition="'$(SkipTranscoder)' != 'true'">
<Exec WorkingDirectory="$(TranscoderRoot)" Command="mkdir -p build %26%26 cd build %26%26 cmake .. %26%26 make -j" />
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' != 'true'"
Command="mkdir -p build %26%26 cd build %26%26 cmake .. %26%26 make -j" />
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' == 'true'"
Command="(if not exist build mkdir build) %26%26 cd build %26%26 cmake .. %26%26 nmake" />
<Copy SourceFiles="$(TranscoderRoot)/build/$(TranscoderBinary)" DestinationFolder="." />
</Target>