mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
The transcoder is now compiled during the build process.
This commit is contained in:
parent
a012612e03
commit
5959a9ef54
@ -6,6 +6,7 @@
|
||||
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
|
||||
<IsPackable>false</IsPackable>
|
||||
<SpaRoot>Views/WebClient/</SpaRoot>
|
||||
<TranscoderRoot>../transcoder</TranscoderRoot>
|
||||
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules/**</DefaultItemExcludes>
|
||||
|
||||
<!-- Set this to true if you enable server-side prerendering -->
|
||||
@ -70,4 +71,17 @@
|
||||
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
|
||||
</Target>
|
||||
|
||||
<Target Name="Compile the transcoder" BeforeTargets="BeforeBuild">
|
||||
<Exec WorkingDirectory="$(TranscoderRoot)" Command="mkdir --parent build; cd build; cmake ..; make -j" />
|
||||
<Copy SourceFiles="$(TranscoderRoot)/build/libtranscoder.so" DestinationFolder="." />
|
||||
</Target>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="transcoder.dll" Condition="$(OS) == 'Windows_NT'">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="libtranscoder.so" Condition="$(OS) == 'Unix'">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 1424677854294090720a2412c29599f4fde20f2e
|
||||
Subproject commit a8e443545aa2963d995b6b2937d61a77620899b0
|
Loading…
x
Reference in New Issue
Block a user