Commit Graph

263 Commits

Author SHA1 Message Date
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
Wojtek Figat
d5100373be Fix bugs in C# codegen for network data serialization 2023-06-30 10:38:08 +02:00
Wojtek Figat
04c1cf469d Fix codegen for C++ RPS with Array ParameterDefinition
#1209
2023-06-28 20:08:35 +02:00
Wojtek Figat
7997d2bc4e Merge branch 'intellisense_reference_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-intellisense_reference_fix 2023-06-28 15:27:11 +02:00
bf6daed6d2 Fix Intellisense errors with referenced binary module structures 2023-06-28 15:57:25 +03:00
Wojtek Figat
864f5f77f5 Add output binaries folder cleanp to build clear command 2023-06-28 14:53:23 +02:00
Wojtek Figat
b16a6199d0 Fix invoking Client RPC on Host client when it's not included in targetIds list 2023-06-28 14:52:58 +02:00
b82f19a0df Support changing C# nullable references context build option 2023-06-19 19:33:13 +03:00
Wojtek Figat
228ef4e130 Add objects ID inverse mapping from client to server for proper C# networking codegen 2023-06-18 19:27:46 +02:00
Wojtek Figat
c87b315fef Fixes for network codegen 2023-06-18 18:28:41 +02:00
Wojtek Figat
b07528d9ce Refactor Network RPC C# codegen to share code with data serializer 2023-06-18 17:11:15 +02:00
Wojtek Figat
9e2e6759bd Implement proper POD types check in C# network replication codegen 2023-06-18 15:33:57 +02:00
Wojtek Figat
1a6e706e57 Minor fixes 2023-06-17 17:51:14 +02:00
Wojtek Figat
5f019dc79f Improve Visual Studio solution generation with nested C# project cross-references to properly place projects in group folders 2023-06-16 13:45:54 +02:00
Wojtek Figat
81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
Wojtek Figat
9572073eda Add CustomArgs to compile and link environment in build tool for customization 2023-05-26 13:43:20 +02:00
Wojtek Figat
b6ceed5c6d Add packaging iOS app to ipa file 2023-04-28 23:54:50 +02:00
Wojtek Figat
8de2e6a424 Fix build tool compilation with older dotnet tools 2023-04-26 22:36:44 +02:00
Wojtek Figat
65e477cfd0 Add engine version defines for build scripts (eg. FLAX_1_6_OR_NEWER) 2023-04-22 19:55:29 +02:00
Wojtek Figat
9eaef3447c Improve Flax.Build build rules caching to include .NET runtime version and engine installation check 2023-04-18 19:06:49 +02:00
Wojtek Figat
e3ceaa3f9a Update Flax deployment scripts for dotnet7 2023-04-18 18:17:47 +02:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
d5b8e44572 Cache networking code generation task results 2023-04-17 11:12:16 +02:00
Wojtek Figat
8a80a26523 Add networking replication codegen for C# array properties with object references or custom structures 2023-04-16 15:30:51 +02:00
Wojtek Figat
2e22abaff9 Refactor C# network replication codegen to be more extendable based on value context source 2023-04-16 14:56:54 +02:00
Wojtek Figat
d38badb54b Add array property replication code-gen for C# networking 2023-04-16 13:00:28 +02:00
Wojtek Figat
2d51332bf7 Rename networking codegen initializer to NetworkingPlugin for C# netcode 2023-04-15 12:05:33 +02:00
Wojtek Figat
e4804db160 Add NetworkRpcParams for sending RPC to specific set of clients or to read sender id 2023-04-15 12:04:40 +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
7c39e5726d Improve csproj project files generation 2023-04-12 14:00:24 +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
eda07ac57b Fix build tool crash when includes cache file is corrupted 2023-04-03 23:42:32 +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
e995736012 Optimize out System.ComponentModel.TypeConverter assembly usage to reduce cooked game builds 2023-04-03 13:51:33 +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
12f4dc74d2 Optimize default C# stdlib references to prevent using jit-ed features in a game assembly 2023-04-01 23:34:05 +02:00
Wojtek Figat
2196a3d791 Add USE_AOT define to C# when compiling with AOT-enabled 2023-04-01 21:23:49 +02:00