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
+4 -1
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>