godot/modules
Ignacio Roldán Etcheverry 4b90d16250 C#: Initial NativeAOT support
This commit adds initial support for games exported as NativeAOT shared
libraries.

At this moment, the NativeAOT runtime is experimental. Additionally,
Godot is not trim-safe as it still makes some use of reflection.
For the time being, a rd.xml file is needed to prevent code triming:

```
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  <Application>
    <Assembly Name="GodotSharp" Dynamic="Required All" />
    <Assembly Name="GAME_ASSEMBLY" Dynamic="Required All" />
  </Application>
</Directives>
```

These are the csproj changes for publishing:

```
  <PropertyGroup>
    <NativeLib>Shared</NativeLib>
  </PropertyGroup>
  <ItemGroup>
    <RdXmlFile Include="rd.xml" />
    <PackageReference Include="Microsoft.DotNet.ILCompiler" Version="7.0.0-*" />
  </ItemGroup>
```

More info:
- https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/docs/using-nativeaot/compiling.md
- https://github.com/dotnet/runtimelab/tree/feature/NativeAOT/samples/NativeLibrary
- https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/docs/using-nativeaot/rd-xml-format.md
2022-08-22 03:36:51 +02:00
..
basis_universal
bmp Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
camera
csg Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
cvtt
dds
denoise
enet Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
etcpak
freetype Add Text Server related options to the build profiles editor. 2022-08-03 15:06:43 +03:00
gdscript Merge pull request #64170 from YuriSizov/docs-annotations-in-technicolor 2022-08-20 00:57:01 +02:00
glslang
gltf Document GLTFLight and GLTFSpecGloss 2022-08-14 14:57:58 -05:00
gridmap Fix error when switching to another GridMap with an item with higher index selected 2022-08-09 19:05:02 -03:00
hdr Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
jpg
jsonrpc
lightmapper_rd Fix some array size function definition mismatch. 2022-08-04 13:06:17 +02:00
mbedtls
meshoptimizer
minimp3 Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
mobile_vr
mono C#: Initial NativeAOT support 2022-08-22 03:36:51 +02:00
msdfgen [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
multiplayer Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
navigation Add NavigationMesh baking for HeightMapShape 2022-08-05 08:56:38 +02:00
noise Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
ogg
openxr Improve the make_rst.py parser for BBCode tags 2022-08-15 17:45:10 +03:00
raycast
regex Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
squish
svg
text_server_adv Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files. 2022-08-09 14:21:09 +03:00
text_server_fb Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files. 2022-08-09 14:21:09 +03:00
tga Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
theora Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
tinyexr
upnp Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
vhacd
visual_script Make property_*_revert methods multilevel and expose them for scripting 2022-08-18 00:03:53 +03:00
vorbis [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
webp
webrtc Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
websocket Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
webxr Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
xatlas_unwrap
modules_builders.py
register_module_types.h
SCsub