Commit Graph

870 Commits

Author SHA1 Message Date
25c1fcbf51 Add support for VS 2022 v17.10 / MSVC 14.4x toolset 2024-03-04 20:48:47 +02:00
Wojtek Figat
2175f46a10 Fix rpath on Linux to handle plugins libraries loading in Editor
#1941
2024-03-04 14:23:17 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
4c082ef17f Codestyle fixes 2024-02-19 14:59:02 +01:00
Wojtek Figat
c7a449fe1c Fix marshaling custom type array to C# with MarshalAs used 2024-02-15 18:28:51 +01:00
Wojtek Figat
43f344ee13 Simplify bindings code for object refs 2024-02-15 10:54:33 +01:00
Wojtek Figat
f730657518 Add support for using pointer in MarshalAs in scripting types 2024-02-15 10:47:45 +01:00
Wojtek Figat
196a4ffe49 Add warning on not implemented generic type network serializer (need better codegen)
#1988
2024-02-10 18:17:29 +01:00
Wojtek Figat
4a19657e75 Fix crash when replicating C# object with NetworkReplicated attribute on derived generic class
#1988
2024-02-10 17:26:10 +01:00
Wojtek Figat
2042525e92 Add pooling to some StringBuilder objects in build tool 2024-02-07 18:53:09 +01:00
Wojtek Figat
8441726da7 Improve support for fixed-arrays in api fields 2024-02-07 18:43:48 +01:00
Wojtek Figat
5a50ec592f Add clickable parsing errors in build tool 2024-02-06 16:01:49 +01:00
Wojtek Figat
b2621ff799 Codestyle fix for #2214 2024-02-06 11:13:00 +01:00
Wojtek Figat
756a991c2c Merge branch 'BugFixes' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-BugFixes 2024-02-06 11:10:30 +01:00
NoriteSC
af8e1e527f Update BindingsGenerator.Cpp.cs 2024-01-29 15:33:14 +01:00
z1dev
ee19bca7e4 Fixing skipped static and other fields generating "else if" without "if" first. 2024-01-26 09:07:02 +01:00
9fd7a231ca Fix invalid Visual Studio solution folder nesting
Fixes fatal error when loading generated solution files with Rider, also
fixes folders with identical names getting mapped to same folder
(Plugins folders within plugin projects).
2024-01-08 20:45:39 +02:00
a8913d89ac Fix C++ Intellisense not working with latest version of Rider
Project `IncludePath` doesn't seem to include NMake include paths
anymore in Rider, populate the property with same paths to work around
the issue.
2024-01-01 17:47:04 +02:00
84249b3b57 Skip building main C#-project in VS solution when C++-project is present
Flax.Build is invoked twice, once for C++-project and one more time for
C#-project. Skip the C#-project by using the custom .targets file to not
break Rider's solution analysis feature.
2023-12-16 14:48:21 +02:00
d614232f8d Fix VS build issues with C# projects when engine path has spaces 2023-12-16 14:45:28 +02:00
Wojtek Figat
d3a77c7a55 Fix regressions 2023-11-28 17:38:06 +01:00
Wojtek Figat
0aeac36f09 Fix __cplusplus macro on MSVC and add logging C++ version used during compilation 2023-11-28 15:55:34 +01:00
Wojtek Figat
17dca8c5c7 Fix invalid codegen for array reference passed as output parameter in scripting interface method 2023-11-28 11:21:29 +01:00
Wojtek Figat
8ffc86ef88 Fix missing output parameters conversion when calling interface implementation in scripting
#1992
2023-11-28 11:20:07 +01:00
c577c78f3f Fix running Flax.Build with .NET 8 runtime 2023-11-26 20:47:54 +02:00
ef8bb33105 Compile C# scripts with latest detected C# language version 2023-11-26 20:27:54 +02:00
aab88a746d Use detected .NET and C# language version in generated project files 2023-11-26 20:27:54 +02:00
e5b1a10d34 Fix VSCode intellisense not finding generated C# bindings definitions 2023-11-26 20:27:53 +02:00
Wojtek Figat
71f30f18a6 Add support for including global configs in engine configuration options 2023-11-25 18:08:34 +01:00
Wojtek Figat
f4f49f63bc Remove debug logs from 3fc0a3dc84 2023-11-25 14:19:30 +01:00
Wojtek Figat
eaabd56cae Add manual dotnet versions search on windows 2023-11-25 13:03:22 +01:00
Wojtek Figat
3fc0a3dc84 Add test debug log for broken ci build debug 2023-11-25 12:46:21 +01:00
Wojtek Figat
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
Wojtek Figat
d99a92fd13 Fix generic types including to be recursive in C++ bindings codegen
#1966
2023-11-23 13:46:43 +01:00
017e7cbc60 Validate detected .NET SDK/runtime versions 2023-11-19 11:26:43 +02:00
4eaac4ab2f Fix building Flax.Build with .NET 8 SDK 2023-11-19 11:26:40 +02:00
Wojtek Figat
3a59cfcf20 Change Globals.BuildErrors into BuildException #1673 2023-11-15 11:57:53 +01:00
Wojtek Figat
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
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
Wojtek Figat
6fd34bf5cc Fix compilation regression 2023-11-14 12:15:51 +01:00
Wojtek Figat
4e2ee897bc Fix missing codesign for macOS game binaries 2023-10-31 15:22:14 +01:00
Wojtek Figat
d9b0e99b9c Add support for using Revision number in projects version 2023-10-26 15:20:35 +02:00
Wojtek Figat
ab49457944 Add log for build command invoke in deployer 2023-10-21 12:44:25 +02:00
Wojtek Figat
770d21566a Add macOS disk image notarization 2023-10-19 23:13:05 +02:00
Wojtek Figat
418e220c00 Add proper codesigning for the Editor app for macOS 2023-10-19 22:40:42 +02:00
Wojtek Figat
2bb8c82329 Add support for packaging editor with bundled platform data 2023-10-19 19:09:06 +02:00
Wojtek Figat
6c45141ef9 Add dmg file building for macOS Editor deployment 2023-10-18 22:10:46 +02:00
Wojtek Figat
5181db8a0e Fix vscode default build task to favor current architecture (eg. arm64 for Editor on macOS) 2023-10-18 21:51:36 +02:00
bcdd6c0551 Fix FlaxEngine C#-project getting built twice in engine solution 2023-10-15 16:16:53 +03:00
ff7e6d82f8 Hide exception when build errors occurs in referenced targets 2023-10-15 16:16:53 +03:00