Andrew Spiering
821c373ae2
Allow for better support for running on m1/2 machines
...
* So we need to account for 2 possible situations where you are running under and emulated process and a native process with a different target host in this case x64
2023-09-20 09:12:48 -07:00
Wojtek Figat
d9333018c2
Merge branch 'unix-dotnet-location' of https://github.com/Crawcik/FlaxEngine into Crawcik-unix-dotnet-location
...
# Conflicts:
# Source/Tools/Flax.Build/Build/DotNet/DotNetSdk.cs
2023-09-19 22:00:36 +02:00
Wojtek Figat
b8a626c95d
Merge branch 'dotnet8_compat_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet8_compat_fix
2023-09-18 17:27:02 +02:00
Wojtek Figat
79bf226fe1
Codestyle fix
2023-09-18 12:11:28 +02:00
Andrew Spiering
824ee9ec7f
Fixing a typo :/
2023-09-17 18:48:54 -07:00
Andrew Spiering
69e54d7f88
Fixing an issue if running an x64 machine already
2023-09-17 15:53:48 -07:00
Andrew Spiering
183ab7738f
Fixing Flex Build issues on M1/2 macs
...
* This resolves some issues where if you are building the actual C# dlls you also need them to be x64 based if you are targeting an x64 based target. This is a little complicated here because we set all this up ahead of time assuming that all the targets are compatible but in this case they are not so, just following what other places in the code are doing around this specifically dotnet AOT.
2023-09-17 15:42:26 -07:00
785943bef8
Add missing marshaller methods for compatibility
2023-09-16 16:00:12 +03:00
Crawcik
1dd7a27568
Checking for executable
2023-09-14 23:19:36 +02:00
Crawcik
64a5d895bd
Better version checking
2023-09-14 23:18:12 +02:00
Crawcik
73bf28dc47
Change of priorities on RID
2023-09-14 22:37:56 +02:00
Crawcik
6dd0957c4a
Adding better finding dotnet root location for mac&unix
2023-09-14 22:34:03 +02:00
3df044d07b
Add build option to change code optimization level in C# modules
2023-08-13 21:29:38 +03:00
735b2e30f0
Output generated .NET source generator files to Intermediate folder
...
Mostly useful for debugging source generators, VS doesn't seem to
utilize these files in any way.
2023-07-30 21:58:16 +03:00
13e11091fc
Support user defined .NET analyzers/source generators in Flax.Build
2023-07-30 21:58:11 +03:00
Wojtek Figat
c2da48c49f
Fix dotnet installation selection on Linux to favor lib over share
2023-07-08 21:05:20 +02:00
Wojtek Figat
5f756a6ceb
Add TargetFrameworkAttribute to compiled C# assembly
2023-07-03 22:00:38 +02:00
Wojtek Figat
5d9e6b7364
Fix C# building to properly use reference assemblies for .NET 7
2023-07-03 22:00:23 +02:00
b82f19a0df
Support changing C# nullable references context build option
2023-06-19 19:33:13 +03:00
Wojtek Figat
b6ceed5c6d
Add packaging iOS app to ipa file
2023-04-28 23:54:50 +02:00
Wojtek Figat
e3ceaa3f9a
Update Flax deployment scripts for dotnet7
2023-04-18 18:17:47 +02:00
Wojtek Figat
c5491eea97
Add Mono AOT for iOS to run C#
2023-04-13 08:34:49 +02:00
Wojtek Figat
cf397e1cc7
Fix var name typo and make improve class lib and platforms tools searching for Mono AOT
2023-04-13 08:27:49 +02:00
Wojtek Figat
d9855f2ed6
DIsable leftover debug aot
2023-04-12 23:16:39 +02:00
Wojtek Figat
99566a0f0f
Fix typo
2023-04-12 11:21:55 +02:00
Wojtek Figat
68c6a01805
Update Switch platform support
2023-04-11 15:53:53 +02:00
Wojtek Figat
09bd7c696b
Add .NET 7 for PlayStation 4
2023-04-05 19:17:22 +02:00
Wojtek Figat
0df9f5c797
Merge branch 'linux_rid_fix' of https://github.com/GoaLitiuM/FlaxEngine into 1.6
2023-04-04 15:09:37 +02:00
Wojtek Figat
0c4a608b65
Add .NET 7 support to Xbox
2023-04-04 14:46:08 +02:00
Wojtek Figat
820c18968a
Add C# class library optimization for normal game builds (without AOT)
2023-04-03 23:41:18 +02:00
Wojtek Figat
03b16875c7
Add SkipUnusedDotnetLibsPackaging to build settings for optional whole C# stdlib packaging
2023-04-03 18:03:28 +02:00
Wojtek Figat
d28be9cf44
Optimize out debug symbols generation for C# stdlib in Mono AOT builds
2023-04-03 13:53:03 +02:00
Wojtek Figat
a3517b273c
Add warning check to Mono AOT process to detect not supported features usage
2023-04-01 23:35:20 +02:00
Wojtek Figat
809a1041b3
Merge remote-tracking branch 'origin/1.6' into 1.6
2023-03-31 19:38:05 +02:00
Wojtek Figat
a7c9c6142c
Remove test logs
2023-03-31 18:23:24 +02:00
Wojtek Figat
7cbafcd86b
Implement C# AOT process for .NET 7 for Windows platform
2023-03-31 14:41:42 +02:00
Wojtek Figat
20ce4642ea
Add nethost usage for iOS build
2023-03-30 18:39:19 +02:00
Wojtek Figat
d925c8dab8
Fixes for Android
2023-03-28 17:21:27 +02:00
Wojtek Figat
eed2cdfe04
Progress on dotnet7 runtime hosting with mono
2023-03-22 17:59:46 +01:00
Wojtek Figat
4c4a559125
Improve dotnet host runtime detection if pack has multiple different versions
2023-03-22 14:20:38 +01:00
Wojtek Figat
30e825db75
Add dotnet7 for Android (wip)
2023-03-21 22:49:09 +01:00
Wojtek Figat
e83b8afdd3
Add nethost for ps4
2023-03-11 21:30:56 +01:00
Wojtek Figat
1096daaeb7
Dont assume path ends with directory slash in dotnet root
2023-02-19 14:30:42 +01:00
Wojtek Figat
0d78a6ba67
Fix path combine error
2023-02-19 14:01:37 +01:00
Wojtek Figat
e07a07f13e
Support 'DOTNET_ROOT' env var in build tool for custom .NET SDK location
2023-02-19 13:51:54 +01:00
Wojtek Figat
2c1409c2a4
Add macOS build for dotnet7
2023-02-19 13:31:57 +01:00
Wojtek Figat
c18cefbb0b
Add support for dotnet7 on macOS
2023-02-19 13:03:12 +01:00
91247cc080
Improve Linux dotnet runtime identifier detection
2023-02-17 17:01:13 +02:00
641e746ee1
Fix dotnet SDK detection on Linux
...
The dotnet-sdk package on Arch Linux seems to different RID prefix in SDK location.
2023-01-28 20:40:34 +02:00
Wojciech Figat
38fcfee9a4
Merge branch '1.5' into dotnet7
2023-01-23 14:47:12 +01:00