mirror of
https://github.com/maxartz15/MoonWorksDearImGuiScaffold.git
synced 2024-11-23 16:15:39 +01:00
fix release mode build
This commit is contained in:
parent
24ba18f84f
commit
39302c66e0
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@ -102,7 +102,7 @@
|
|||||||
"command": "MoonWorksDearImGuiScaffold.exe"
|
"command": "MoonWorksDearImGuiScaffold.exe"
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/bin/Debug/net8.0"
|
"cwd": "${workspaceFolder}/bin/Release/net8.0"
|
||||||
},
|
},
|
||||||
"type": "process",
|
"type": "process",
|
||||||
"group": {
|
"group": {
|
||||||
|
@ -3,23 +3,15 @@
|
|||||||
<Description>A .NET wrapper for the Dear ImGui library.</Description>
|
<Description>A .NET wrapper for the Dear ImGui library.</Description>
|
||||||
<AssemblyVersion>1.90.0.1</AssemblyVersion>
|
<AssemblyVersion>1.90.0.1</AssemblyVersion>
|
||||||
<Authors>Eric Mellino</Authors>
|
<Authors>Eric Mellino</Authors>
|
||||||
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DebugType>portable</DebugType>
|
<DebugType>portable</DebugType>
|
||||||
<AssemblyName>ImGui.NET</AssemblyName>
|
<AssemblyName>ImGui.NET</AssemblyName>
|
||||||
<PackageId>ImGui.NET</PackageId>
|
<PackageId>ImGui.NET</PackageId>
|
||||||
<PackagePrereleaseIdentifier></PackagePrereleaseIdentifier>
|
|
||||||
<PackageVersion>$(AssemblyVersion)$(PackagePrereleaseIdentifier)</PackageVersion>
|
|
||||||
<PackageTags>ImGui ImGui.NET Immediate Mode GUI</PackageTags>
|
<PackageTags>ImGui ImGui.NET Immediate Mode GUI</PackageTags>
|
||||||
<PackageProjectUrl>https://github.com/mellinoe/imgui.net</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/mellinoe/imgui.net</PackageProjectUrl>
|
||||||
<DocumentationFile Condition="'$(Configuration)' == 'Release'">$(OutputPath)\ImGui.NET.xml</DocumentationFile>
|
|
||||||
<RootNamespace>ImGuiNET</RootNamespace>
|
<RootNamespace>ImGuiNET</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="System.Numerics.Vectors" Version="4.4.0" />
|
|
||||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.4.0" />
|
|
||||||
<PackageReference Include="System.Buffers" Version="4.4.0" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
||||||
<_Parameter1>ImPlot.NET</_Parameter1>
|
<_Parameter1>ImPlot.NET</_Parameter1>
|
||||||
@ -28,32 +20,6 @@
|
|||||||
<_Parameter1>ImNodes.NET</_Parameter1>
|
<_Parameter1>ImNodes.NET</_Parameter1>
|
||||||
</AssemblyAttribute>
|
</AssemblyAttribute>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="..\..\deps\cimgui\win-x86\cimgui.dll">
|
|
||||||
<PackagePath>runtimes/win-x86/native</PackagePath>
|
|
||||||
<Pack>true</Pack>
|
|
||||||
</Content>
|
|
||||||
<Content Include="..\..\deps\cimgui\win-x64\cimgui.dll">
|
|
||||||
<PackagePath>runtimes/win-x64/native</PackagePath>
|
|
||||||
<Pack>true</Pack>
|
|
||||||
</Content>
|
|
||||||
<Content Include="..\..\deps\cimgui\win-arm64\cimgui.dll">
|
|
||||||
<PackagePath>runtimes/win-arm64/native</PackagePath>
|
|
||||||
<Pack>true</Pack>
|
|
||||||
</Content>
|
|
||||||
<Content Include="..\..\deps\cimgui\linux-x64\cimgui.so">
|
|
||||||
<PackagePath>runtimes/linux-x64/native/libcimgui.so</PackagePath>
|
|
||||||
<Pack>true</Pack>
|
|
||||||
</Content>
|
|
||||||
<Content Include="..\..\deps\cimgui\osx\cimgui.dylib">
|
|
||||||
<PackagePath>runtimes/osx/native/libcimgui.dylib</PackagePath>
|
|
||||||
<Pack>true</Pack>
|
|
||||||
</Content>
|
|
||||||
<Content Include="build\net40\ImGui.NET.targets">
|
|
||||||
<PackagePath>build/net40/ImGui.NET.targets</PackagePath>
|
|
||||||
<Pack>true</Pack>
|
|
||||||
</Content>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Generated\" />
|
<Folder Include="Generated\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -22,10 +22,16 @@ class Program
|
|||||||
Cap = 60
|
Cap = 60
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var debugMode = false;
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
|
debugMode = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
MoonWorksDearImGuiScaffoldGame game = new MoonWorksDearImGuiScaffoldGame(
|
MoonWorksDearImGuiScaffoldGame game = new MoonWorksDearImGuiScaffoldGame(
|
||||||
windowCreateInfo,
|
windowCreateInfo,
|
||||||
frameLimiterSettings,
|
frameLimiterSettings,
|
||||||
true
|
debugMode
|
||||||
);
|
);
|
||||||
|
|
||||||
game.Run();
|
game.Run();
|
||||||
|
Loading…
Reference in New Issue
Block a user