Improve native lib referencing
This commit is contained in:
parent
73f0fd3049
commit
ee57c26d77
8 changed files with 32 additions and 33 deletions
|
@ -85,9 +85,17 @@ public class GAssembly
|
|||
{
|
||||
var basedir = P.Combine("..", "..", Dir);
|
||||
|
||||
if (Cake.DirectoryExists(P.Combine(basedir, "linux-x86")))
|
||||
Cake.DeleteDirectory(P.Combine(basedir, "linux-x86"), new DeleteDirectorySettings { Recursive = true, Force = true });
|
||||
Cake.CreateDirectory(P.Combine(basedir, "linux-x86"));
|
||||
|
||||
if (Cake.DirectoryExists(P.Combine(basedir, "linux-x64")))
|
||||
Cake.DeleteDirectory(P.Combine(basedir, "linux-x64"), new DeleteDirectorySettings { Recursive = true, Force = true });
|
||||
Cake.CreateDirectory(P.Combine(basedir, "linux-x64"));
|
||||
|
||||
if (Cake.DirectoryExists(P.Combine(basedir, "linux-arm")))
|
||||
Cake.DeleteDirectory(P.Combine(basedir, "linux-arm"), new DeleteDirectorySettings { Recursive = true, Force = true });
|
||||
Cake.CreateDirectory(P.Combine(basedir, "linux-arm"));
|
||||
|
||||
for (int i = 0; i < NativeDeps.Length; i += 2)
|
||||
{
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libatk-1.0-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libatk-1.0-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libatk-1.0-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-x86\*" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\*" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\*" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<OutputPath>..\..\..\BuildOutput\Release</OutputPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libcairo-2.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libcairo-2.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libcairo-2.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-x86\*" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\*" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\*" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -15,14 +15,8 @@
|
|||
<OutputPath>..\..\..\BuildOutput\Release</OutputPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libglib-2.0-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgobject-2.0-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgthread-2.0-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libglib-2.0-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgobject-2.0-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgthread-2.0-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libglib-2.0-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgobject-2.0-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgthread-2.0-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-x86\*" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\*" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\*" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -29,11 +29,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libgdk_pixbuf-2.0-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgdk-3-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgdk_pixbuf-2.0-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgdk-3-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgdk_pixbuf-2.0-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgdk-3-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-x86\*" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\*" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\*" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libgio-2.0-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgio-2.0-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgio-2.0-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-x86\*" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\*" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\*" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libgtk-3-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgtk-3-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgtk-3-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-x86\*" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\*" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\*" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libpango-1.0-0.dll.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libpango-1.0-0.dll.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libpango-1.0-0.dll.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-x86\*" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\*" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\*" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
Loading…
Reference in a new issue