This commit is contained in:
parent
3801bc29f8
commit
ff83cb20f9
@ -5,6 +5,7 @@ project(rf_stbi LANGUAGES C VERSION 1.0)
|
|||||||
if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin"))
|
if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin"))
|
||||||
add_compile_options(-static-libgcc -static-libstdc++ -fno-exceptions)
|
add_compile_options(-static-libgcc -static-libstdc++ -fno-exceptions)
|
||||||
endif()
|
endif()
|
||||||
|
add_compile_options(-O3)
|
||||||
|
|
||||||
add_library(stbi SHARED "rf_stbi.c")
|
add_library(stbi SHARED "rf_stbi.c")
|
||||||
install(
|
install(
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<RuntimeIdentifiers>linux-arm;linux-arm64;linux-x64;win-x86;win-x64;osx-arm64;osx-x64</RuntimeIdentifiers>
|
<RuntimeIdentifiers>linux-arm;linux-arm64;linux-x64;win-x86;win-x64;osx-arm64;osx-x64</RuntimeIdentifiers>
|
||||||
<RootNamespace>ReFuel.Stb</RootNamespace>
|
<RootNamespace>ReFuel.Stb</RootNamespace>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Nuget Properties. -->
|
<!-- Nuget Properties. -->
|
||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
<PackageId>ReFuel.StbImage</PackageId>
|
<PackageId>ReFuel.StbImage</PackageId>
|
||||||
<Version>2.0</Version>
|
<Version>2.0.1</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.h and stb_image_write.h library.
|
A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library.
|
||||||
@ -25,7 +26,10 @@
|
|||||||
<RepositoryUrl>https://git.mixedup.dev/ReFuel/ReFuel.StbImage</RepositoryUrl>
|
<RepositoryUrl>https://git.mixedup.dev/ReFuel/ReFuel.StbImage</RepositoryUrl>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<PackageTags>stb; stb_image; stbi; image; load; save; read; write</PackageTags>
|
<PackageTags>stb; stb_image; stbi; image; load; save; read; write</PackageTags>
|
||||||
<PackageReleaseNotes># 2.0.0
|
<PackageReleaseNotes># 2.0.1
|
||||||
|
* Enabled optimizations across the board for native and managed assemblies.
|
||||||
|
|
||||||
|
# 2.0.0
|
||||||
* Exposed stbi_image_write.h
|
* Exposed stbi_image_write.h
|
||||||
* Moved native function calls to ReFuel.Stb.Native</PackageReleaseNotes>
|
* Moved native function calls to ReFuel.Stb.Native</PackageReleaseNotes>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $(dirname "$0")
|
cd $(dirname "$0")
|
||||||
./docker-cross-compiler/sh/build_native.sh .
|
./docker-cross-compiler/sh/build_native.sh .
|
||||||
dotnet build
|
dotnet build -c Release
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 5901e3e317571bce4a8772e2e994aaaadeae828e
|
Subproject commit d0f5760c7a7995cec50bf31fef78f5408445f27c
|
2
stb
2
stb
@ -1 +1 @@
|
|||||||
Subproject commit 013ac3beddff3dbffafd5177e7972067cd2b5083
|
Subproject commit f7f20f39fe4f206c6f19e26ebfef7b261ee59ee4
|
Loading…
Reference in New Issue
Block a user