Skip to content

Commit

Permalink
Merge pull request #6 from Yellow-Dog-Man/feat/prime-samples
Browse files Browse the repository at this point in the history
Create samples project
  • Loading branch information
ProbablePrime authored Jan 27, 2025
2 parents 4a862e1 + 9f6bb83 commit b44492a
Show file tree
Hide file tree
Showing 26 changed files with 36 additions and 3 deletions.
15 changes: 15 additions & 0 deletions Compressonator.NET.Samples/Compressonator.NET.Samples.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Compressonator.NET\Compressonator.NET.csproj" />
</ItemGroup>

</Project>
12 changes: 12 additions & 0 deletions Compressonator.NET.Samples/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using Compressonator.NET;

public class Program
{
static void Main(string[] args)
{
Console.WriteLine($"SDK Supported: " + SDK_NativeMethods.IsSupported);
Console.WriteLine($"Framwork Supported: " + FrameworkNativeMethods.IsSupported);

//TODO: I tried for like 3 hours to get a texture conversion/compression working but I have no idea what I'm doing - Prime.
}
}
8 changes: 7 additions & 1 deletion Compressonator.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31717.71
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Compressonator.NET", "Compressonator.NET.csproj", "{78FC27F8-4E6B-42DA-B686-9338695198D5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Compressonator.NET", "Compressonator.NET\Compressonator.NET.csproj", "{78FC27F8-4E6B-42DA-B686-9338695198D5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Compressonator.NET.Samples", "Compressonator.NET.Samples\Compressonator.NET.Samples.csproj", "{A6A2F93F-7A66-4792-A4C2-2913C7071B24}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -15,6 +17,10 @@ Global
{78FC27F8-4E6B-42DA-B686-9338695198D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78FC27F8-4E6B-42DA-B686-9338695198D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78FC27F8-4E6B-42DA-B686-9338695198D5}.Release|Any CPU.Build.0 = Release|Any CPU
{A6A2F93F-7A66-4792-A4C2-2913C7071B24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A6A2F93F-7A66-4792-A4C2-2913C7071B24}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A6A2F93F-7A66-4792-A4C2-2913C7071B24}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A6A2F93F-7A66-4792-A4C2-2913C7071B24}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
</PropertyGroup>

<ItemGroup>
<None Include="Images\icon.png" Pack="true" PackagePath="\"/>
<None Include="README.md" Pack="true" PackagePath="\"/>
<None Include="..\Images\icon.png" Pack="true" PackagePath="\"/>
<None Include="..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b44492a

Please sign in to comment.