-
-
Notifications
You must be signed in to change notification settings - Fork 23
test enabling AOT compilation when exporting samples #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
dogboydog
wants to merge
12
commits into
develop
Choose a base branch
from
AOT
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
01503c0
test enabling AOT compilation
dogboydog 2821a05
add TrimmerRootAssembly settings in csproj
dogboydog 4cbab75
Merge branch 'develop' of github.com:YarnSpinnerTool/YarnSpinner-Godo…
dogboydog 5cbaa9a
temp: comment out compilation failures - sample game crashes when run…
dogboydog 946ce57
Merge branch 'develop' of github.com:YarnSpinnerTool/YarnSpinner-Godo…
2acdb3a
Merge branch 'develop' of github.com:YarnSpinnerTool/YarnSpinner-Godo…
c2eac85
fix bad merge - re-enable AOT for test
6e4a368
root google.protobuf and csvhelper dependencies
6cbf69d
Update addons/YarnSpinner-Godot/Runtime/Commands/Actions.cs
dogboydog eab4414
Update addons/YarnSpinner-Godot/Runtime/Commands/Actions.cs
dogboydog 12607c2
Merge branch 'develop' of github.com:YarnSpinnerTool/YarnSpinner-Godo…
923b965
rename paramsArray -> paramsList
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,44 @@ | ||
| <Project Sdk="Godot.NET.Sdk/4.6.2"> | ||
| <PropertyGroup> | ||
| <NoWarn>RS2008</NoWarn> <!-- We do not have the AnalyserReleases.*.md files written to satisfy this warning --> | ||
| <TargetFramework>net8.0</TargetFramework> | ||
| <EnableDynamicLoading>true</EnableDynamicLoading> | ||
| <WarningsAsErrors>Nullable</WarningsAsErrors> | ||
| <!--Turn on Nullable so that we can fail the build if there are any incompatible scripts--> | ||
| <Nullable>enable</Nullable> | ||
| <!-- Include this when debugging source generation --> | ||
| <DefineConstants>$(DefineConstants);YARN_SOURCE_GENERATION_DEBUG_LOGGING;YARNSPINNER_DEBUG</DefineConstants> | ||
| <PropertyGroup> | ||
| <NoWarn>RS2008</NoWarn> <!-- We do not have the AnalyserReleases.*.md files written to satisfy this warning --> | ||
| <TargetFramework>net8.0</TargetFramework> | ||
| <EnableDynamicLoading>true</EnableDynamicLoading> | ||
| <WarningsAsErrors>Nullable</WarningsAsErrors> | ||
| <!--Turn on Nullable so that we can fail the build if there are any incompatible scripts--> | ||
| <Nullable>enable</Nullable> | ||
| <!-- Include this when debugging source generation --> | ||
| <DefineConstants>$(DefineConstants);YARN_SOURCE_GENERATION_DEBUG_LOGGING;YARNSPINNER_DEBUG</DefineConstants> | ||
|
|
||
| <!-- Uncomment the following two lines if you want to see the generated | ||
| Command/Function C# file on disk for debugging purposes. --> | ||
| <!-- <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>--> | ||
| <!-- <CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>--> | ||
| <!-- Uncomment the following two lines if you want to see the generated | ||
| Command/Function C# file on disk for debugging purposes. --> | ||
| <!-- <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>--> | ||
| <!-- <CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>--> | ||
|
|
||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| </PropertyGroup> | ||
| <Choose> | ||
| <When Condition=" $(Configuration)=='ExportDebug' Or $(Configuration)=='ExportRelease'"> | ||
| <!-- Exported game --> | ||
| <PropertyGroup> | ||
| <!-- To enable AOT compilation in exports --> | ||
| <PublishAot>true</PublishAot> | ||
| </PropertyGroup> | ||
| </When> | ||
| </Choose> | ||
| <ItemGroup> | ||
| <!-- Add some extra files for ease of developing samples --> | ||
| <Compile Include="addons\YarnSpinner-Godot\SourceGenerator\YarnSpinnerProjectSettings.cs"/> | ||
| <None Include="addons\YarnSpinner-Godot\YarnSpinner-Godot.props"/> | ||
| <None Include="addons\YarnSpinner-Godot\plugin.cfg"/> | ||
| <None Include="**\*.md"/> | ||
| <None Include="**\*.yarn"/> | ||
| <None Include="**\*.yarnproject"/> | ||
| <None Include="**\*.gd"/> | ||
| <Compile Remove="Generated\**"/> | ||
| <!-- For SQL variable storage sample --> | ||
| <PackageReference Include="sqlite-net-pcl" Version="1.9.172"/> | ||
| </ItemGroup> | ||
|
|
||
| <!-- Add some extra files for ease of developing samples --> | ||
| <Compile Include="addons\YarnSpinner-Godot\SourceGenerator\YarnSpinnerProjectSettings.cs" /> | ||
| <None Include="addons\YarnSpinner-Godot\YarnSpinner-Godot.props" /> | ||
| <None Include="addons\YarnSpinner-Godot\plugin.cfg" /> | ||
| <None Include="**\*.md" /> | ||
| <None Include="**\*.yarn" /> | ||
| <None Include="**\*.yarnproject" /> | ||
| <None Include="**\*.gd" /> | ||
| <Compile Remove="Generated\**" /> | ||
| <!-- For SQL variable storage sample --> | ||
| <PackageReference Include="sqlite-net-pcl" Version="1.9.172" /> | ||
| </ItemGroup> | ||
| <!-- How to include the plugin code in your .csproj --> | ||
| <Import Project="addons\YarnSpinner-Godot\YarnSpinner-Godot.props"/> | ||
|
|
||
| <!-- How to include the plugin code in your .csproj --> | ||
| <Import Project="addons\YarnSpinner-Godot\YarnSpinner-Godot.props" /> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
addons/YarnSpinner-Godot/SourceGenerator/SourceGenerator.sln
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| # Visual Studio Version 17 | ||
| VisualStudioVersion = 17.5.2.0 | ||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YarnSpinnerGodotSourceGenerator", "YarnSpinnerGodotSourceGenerator.csproj", "{B4D61F22-D597-964F-0547-2A361A809E8D}" | ||
| EndProject | ||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|Any CPU = Debug|Any CPU | ||
| Release|Any CPU = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {B4D61F22-D597-964F-0547-2A361A809E8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {B4D61F22-D597-964F-0547-2A361A809E8D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {B4D61F22-D597-964F-0547-2A361A809E8D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {B4D61F22-D597-964F-0547-2A361A809E8D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| GlobalSection(ExtensibilityGlobals) = postSolution | ||
| SolutionGuid = {A6B02B91-AA01-48E2-9B49-1D1787C9FF81} | ||
| EndGlobalSection | ||
| EndGlobal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uncommenting these lines causes a compilation failure under AOT, maybe due to using the generic types?