Merge branch 'master' into stable
All checks were successful
Build / build (push) Successful in 1m23s

This commit is contained in:
H. Utku Maden 2024-04-06 16:00:05 +03:00
commit 7cd55c8884
4 changed files with 17 additions and 4 deletions

@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 3.0)
project(quik_stbi LANGUAGES C VERSION 1.0) project(quik_stbi LANGUAGES C VERSION 1.0)
add_compile_options(-static-libgcc) if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin"))
add_compile_options(-static-libgcc)
endif()
add_library(stbi SHARED "quik_stbi.c") add_library(stbi SHARED "quik_stbi.c")
install( install(

@ -1 +1 @@
Subproject commit d9c98b5cdc37b2ba1855c8fa9ce0fac8266b0f89 Subproject commit fdfac9d95134fb5637bb2a9ec98ee11fe188230e

@ -12,7 +12,7 @@
<!-- Nuget Properties. --> <!-- Nuget Properties. -->
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Quik.StbImage</PackageId> <PackageId>Quik.StbImage</PackageId>
<Version>1.0.0</Version> <Version>1.1.0</Version>
<Authors>STBI Authors, H. Utku Maden</Authors> <Authors>STBI Authors, H. Utku Maden</Authors>
<Description> <Description>
A C# wrapper for the ubiquitous Stb Image library. A C# wrapper for the ubiquitous Stb Image library.
@ -56,6 +56,16 @@
<Pack>true</Pack> <Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="runtimes/osx-x64/native/*.dll">
<PackagePath>runtimes/osx-x64/native/</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="runtimes/osx-arm64/native/*.dll">
<PackagePath>runtimes/osx-arm64/native/</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup> </ItemGroup>
</Project> </Project>

@ -19,7 +19,8 @@ namespace Quik.Stb
"runtimes/linux-arm/native/libstbi.so", "runtimes/linux-arm/native/libstbi.so",
"runtimes/linux-arm64/native/libstbi.so", "runtimes/linux-arm64/native/libstbi.so",
"runtimes/linux-x64/native/libstbi.so", "runtimes/linux-x64/native/libstbi.so",
"runtimes/native/libstbi.dylib", "runtimes/osx-arm64/libstbi.dylib",
"runtimes/osx-x64/libstbi.dylib",
"libstbi.dll", "libstbi.dll",
"libstbi.so", "libstbi.so",
"libstbi.dylib", "libstbi.dylib",