Commit Graph

317 Commits

Author SHA1 Message Date
mafiesto4 14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 10180de9c6 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Source/Editor/Utilities/EditorUtilities.cpp
#	Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
mafiesto4 4c082ef17f Codestyle fixes 2024-02-19 14:59:02 +01:00
mafiesto4 196a4ffe49 Add warning on not implemented generic type network serializer (need better codegen)
#1988
2024-02-10 18:17:29 +01:00
mafiesto4 4a19657e75 Fix crash when replicating C# object with NetworkReplicated attribute on derived generic class
#1988
2024-02-10 17:26:10 +01:00
mafiesto4 9a70f698b9 Various improvements to building nethost 2024-01-12 13:44:50 +01:00
mafiesto4 e04c98020c Fix Android runtime 2024-01-04 09:03:39 +01:00
mafiesto4 c7baded2db Fix building engine with IsMonolithicExecutable disabled on platforms without HasModularBuildSupport 2024-01-04 00:07:35 +01:00
mafiesto4 fe711405ac Fix iOS build with dotnet8 on arm64 macOS 2023-12-22 11:21:29 +01:00
mafiesto4 74f5d14ec9 Merge remote-tracking branch 'origin/master' into 1.8 2023-12-08 11:23:06 +01:00
GoaLitiuM ef8bb33105 Compile C# scripts with latest detected C# language version 2023-11-26 20:27:54 +02:00
GoaLitiuM aab88a746d Use detected .NET and C# language version in generated project files 2023-11-26 20:27:54 +02:00
mafiesto4 06ad316f94 Update to .NET 8 2023-11-26 15:09:46 +01:00
mafiesto4 76f5712c79 Merge remote-tracking branch 'origin/1.7' into 1.8
# Conflicts:
#	Flax.flaxproj
2023-11-25 23:36:56 +01:00
mafiesto4 f4f49f63bc Remove debug logs from 3fc0a3dc84 2023-11-25 14:19:30 +01:00
mafiesto4 eaabd56cae Add manual dotnet versions search on windows 2023-11-25 13:03:22 +01:00
mafiesto4 3fc0a3dc84 Add test debug log for broken ci build debug 2023-11-25 12:46:21 +01:00
mafiesto4 40d6e18e7e Add -dotnet=ver command arg to Flax.Build to specify .NET SDK version to use for build 2023-11-25 12:16:13 +01:00
mafiesto4 aa4e1222d7 Merge remote-tracking branch 'origin/master' into 1.8 2023-11-20 11:16:07 +01:00
GoaLitiuM 017e7cbc60 Validate detected .NET SDK/runtime versions 2023-11-19 11:26:43 +02:00
mafiesto4 1bb68f2c0c Merge remote-tracking branch 'origin/master' into 1.8 2023-11-16 10:31:13 +01:00
mafiesto4 640f380237 Add OutputName to Build Settings for game output exe/package renaming
#1174
2023-11-16 10:29:58 +01:00
mafiesto4 6cad1e3309 Add better win32 resource file injection to be done during linker call 2023-11-15 23:22:26 +01:00
mafiesto4 ee6a311406 Add support for building engine target as shared library on all platforms 2023-11-15 22:56:23 +01:00
mafiesto4 3a59cfcf20 Change Globals.BuildErrors into BuildException #1673 2023-11-15 11:57:53 +01:00
mafiesto4 e7ef3ebef2 Merge branch 'csharp_vs_build' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-csharp_vs_build 2023-11-15 11:44:42 +01:00
mafiesto4 80a30f504a Add initial support for Precompiled Header Files (PCH) in MSVC compilation 2023-11-15 10:30:59 +01:00
GoaLitiuM 3f5c92e2fa Improve .NET 8 runtime and SDK detection
Setting the environment variable `DOTNET_ROLL_FORWARD_TO_PRERELEASE=1`
is required to enable runtime support for release candidate builds of
future major .NET releases.
2023-11-14 17:00:51 +02:00
GoaLitiuM ff7e6d82f8 Hide exception when build errors occurs in referenced targets 2023-10-15 16:16:53 +03:00
GoaLitiuM 7014007362 Disable inheriting C# optimization level from dependency modules 2023-10-14 01:45:36 +03:00
GoaLitiuM 858baa0ee0 Use latest supported C# version for building rules assemblies 2023-10-05 19:31:07 +03:00
mafiesto4 4149da5f9e Fix crash when generating project files with toolchain setup that fails
#1537
2023-10-02 18:57:40 +02:00
Zode db8f721fa7 Fix build project generation under arch 2023-09-29 11:20:24 +03:00
GoaLitiuM 22e5afdb6f Fix Visual Studio project GUIDs getting randomized during regeneration 2023-09-27 20:17:19 +03:00
GoaLitiuM 0c00dc20a2 Always generate additional Visual Studio solution files for all platforms 2023-09-27 19:43:59 +03:00
GoaLitiuM bff18a5564 Add -genproject -rider option for generating Rider compatible solution files 2023-09-27 19:43:56 +03:00
Andrew Spiering ab7ca683bb Addressing Feedback
* use a better method of getting Editor binary folder
2023-09-22 02:59:38 -07:00
Andrew Spiering 017967d5f8 Fixing non-windows platforms csproj files
* Seems there was a hardcoded path ? for the prebuilt binaries for the FlaxEngine dll
2023-09-22 02:13:49 -07:00
mafiesto4 38671e0e01 Merge branch 'default_configurations_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-default_configurations_fix 2023-09-21 11:28:59 +02:00
mafiesto4 d94c0d3323 Fix C#-only game projects to reference precompiled DLLs instead of FlaxEngine.csproj 2023-09-21 11:26:04 +02:00
GoaLitiuM ed51791b58 Prevent generating VS configurations for Win32 and engine projects 2023-09-21 01:00:04 +03:00
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
mafiesto4 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
mafiesto4 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
mafiesto4 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
GoaLitiuM 785943bef8 Add missing marshaller methods for compatibility 2023-09-16 16:00:12 +03:00