Commit Graph

207 Commits

Author SHA1 Message Date
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +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
154076a5d0 Migrate Linux build from mono to to dotnet7 2023-03-20 19:25:00 +01:00
Wojtek Figat
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
33ac9c8811 Merge branch 'flax_build_perf_improvements' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-flax_build_perf_improvements 2023-03-15 17:57:16 +01:00
e11587e72e Use System.Text.Json over Newtonsoft.Json in Flax.Build 2023-03-14 20:03:34 +02:00
16131b2858 Cache networking code generation task results 2023-03-14 20:03:33 +02:00
e878f5be15 Optimize saving TaskGraph cache 2023-03-14 20:03:33 +02:00
19d77f0d81 Use filesystem caching in TaskGraph 2023-03-14 20:03:33 +02:00
2f9e72e03e Use caching for filesystem queries in BindingsGenerator 2023-03-14 20:03:33 +02:00
47e2c82551 Find build files without recursion 2023-03-14 20:03:32 +02:00
9e4fd9fadb Exclude API code injection lines from includes cache 2023-03-14 20:02:35 +02:00
Wojtek Figat
74758f5380 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Tools/Flax.Build/Build/Builder.Projects.cs
#	Source/Tools/Flax.Build/Build/Plugins/NetworkingPlugin.cs
2023-03-14 11:52:41 +01:00
Wojtek Figat
dad41d9e0e Merge branch 'fix_network_rpc' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_network_rpc 2023-03-14 11:50:09 +01:00
Wojtek Figat
7950c0d9d7 Fix codegen for C# networking when using custom structures for replication and RPCs 2023-03-14 00:02:24 +01:00
Wojtek Figat
7cdd35cc8d Fix network codegen for 6 or more param RPC in C# 2023-03-13 20:36:10 +01:00
Wojtek Figat
6f304040b0 Format code 2023-03-13 20:20:10 +01:00
Wojtek Figat
a41ad511f0 Fix Visual Studio project names collision when using both C++ and C# scripting 2023-03-13 16:10:21 +01:00
Wojtek Figat
e83b8afdd3 Add nethost for ps4 2023-03-11 21:30:56 +01:00
559aef2ee3 Fix typos 2023-03-06 18:11:14 +02:00
Wojtek Figat
7fce25a2e4 Fix building consoles 2023-03-06 16:19:16 +01:00
85c5c7f309 Fix generated network RPC execute method visibility 2023-03-05 19:32:28 +02:00
Wojtek Figat
60f21d1a92 Update old copyright headers 2023-03-03 17:14:35 +01:00
Wojtek Figat
f88dd50098 Merge commit '272ffe2ea22eecb8f7cd6662efc1cadbe5593feb' into dotnet7 2023-02-27 23:17:04 +01:00
Wojtek Figat
3be4e50b78 Amr64 on mac impl progress 2023-02-27 22:57:42 +01:00
Wojtek Figat
64752781ed Add arm64 support for macOS 2023-02-21 18:15:22 +01:00
Wojtek Figat
d7e24f0168 Fix missing dotnet hosting components for not yet supported platforms during projects generation stage 2023-02-19 15:16:34 +01:00
Wojtek Figat
0cf40729fa Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-19 15:04:02 +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
b44c7ab32c Print missing SDKs in Flax.Build 2023-02-19 13:03:29 +01:00
Wojtek Figat
c18cefbb0b Add support for dotnet7 on macOS 2023-02-19 13:03:12 +01:00
f77063f615 Include thirdparty files in the includes cache 2023-02-17 23:20:22 +02:00
df000bc99e Fix linking against C#-only modules
(cherry picked from commit 7ccc0b83ff)
2023-02-16 10:24:07 +01:00
7ccc0b83ff Fix linking against C#-only modules 2023-02-13 20:11:00 +02:00
Wojtek Figat
ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +01:00
Wojtek Figat
dff13626c4 Merge branch 'linux_dotnet7_sdk_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-linux_dotnet7_sdk_fix 2023-02-13 10:05:24 +01:00
Wojtek Figat
e9fa76c34a Fix RPC codegen 2023-02-10 13:37:02 +01:00
Wojtek Figat
9197d583ce Fix using Ray parameter in Network RPC 2023-02-10 11:07:13 +01:00
Wojtek Figat
07ca64c8a0 Fix using RPC attribute without ctor usage 2023-02-10 11:02:06 +01:00
Wojtek Figat
daff3abdc1 Add engine version defines to C++ game scripts 2023-02-06 11:09:52 +01:00
Wojtek Figat
a175e58107 Add FLAX_X_Y_OR_NEWER to game code defines 2023-02-06 11:09:47 +01:00
Wojtek Figat
1ff49e1faf Add engine version defines to C++ game scripts 2023-02-06 10:25:07 +01:00
Wojtek Figat
64f7c6bf64 Add FLAX_X_Y_OR_NEWER to game code defines 2023-02-06 10:24:37 +01: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
Wojtek Figat
6b6f1eeb9b Fix exception in build tool when running in workspace without project file 2023-01-25 19:54:45 +01:00