Commit Graph

852 Commits

Author SHA1 Message Date
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
5b3e09baec Build C# projects in VS/Rider solution configurations
Rider's solution wide analysis does not work properly when projects
are not included in the active configuration for build.
2023-10-15 16:16:53 +03:00
0d7e7c30ca Run Flax.Build when building main C# project 2023-10-15 16:16:53 +03:00
Wojtek Figat
37e3a91b73 Merge branch 'vscode_launch_tasks' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-vscode_launch_tasks 2023-10-14 16:30:57 +02:00
dc1be86db7 Only generate one set of C++/C# launch tasks for VSCode
Proper fix for b9c6dcd4c7
2023-10-14 03:45:37 +03:00
7014007362 Disable inheriting C# optimization level from dependency modules 2023-10-14 01:45:36 +03:00
b9c6dcd4c7 Fix wrong Visual Studio Code preLaunchTask in launch tasks 2023-10-12 16:37:32 +03:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
5810febc4a Merge branch 'disable_resharper_build' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-disable_resharper_build 2023-10-05 19:02:21 +02:00
88d9e60bee Generate Rider-specific user solution configuration files
Disables "Use Resharper Build" option by default in generated solutions,
Resharper can't detect file changes in project using custom build
commands.
2023-10-05 19:31:28 +03:00
858baa0ee0 Use latest supported C# version for building rules assemblies 2023-10-05 19:31:07 +03:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
Wojtek Figat
1dcad007c7 Merge branch 'launchsettings_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-launchsettings_fix 2023-10-04 18:57:50 +02:00
Wojtek Figat
4149da5f9e Fix crash when generating project files with toolchain setup that fails
#1537
2023-10-02 18:57:40 +02:00
Wojtek Figat
b9198fc7a1 Merge remote-tracking branch 'origin/master' 2023-10-02 12:54:41 +02:00
Wojtek Figat
1156f72fbe Add versions sorting to VulkanSDK selection on macOS 2023-10-02 12:40:37 +02:00
Wojtek Figat
0ea3cb0d69 Improve workflow with Android project generated after #1570 2023-10-02 11:05:19 +02:00
Wojtek Figat
dd21020297 Merge remote-tracking branch 'origin/master' into 1.7 2023-10-01 13:17:41 +02:00
Wojtek Figat
ec7dcc4cfb Merge branch 'vs_android_intellisense_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-vs_android_intellisense_fix 2023-10-01 12:29:36 +02:00