Commit Graph

59 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
13e11091fc Support user defined .NET analyzers/source generators in Flax.Build 2023-07-30 21:58:11 +03:00
Wojtek Figat
5d9e6b7364 Fix C# building to properly use reference assemblies for .NET 7 2023-07-03 22:00:23 +02:00
b82f19a0df Support changing C# nullable references context build option 2023-06-19 19:33:13 +03: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
eda07ac57b Fix build tool crash when includes cache file is corrupted 2023-04-03 23:42:32 +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
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
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
2f9e72e03e Use caching for filesystem queries in BindingsGenerator 2023-03-14 20:03:33 +02:00
9e4fd9fadb Exclude API code injection lines from includes cache 2023-03-14 20:02:35 +02:00
Wojtek Figat
7fce25a2e4 Fix building consoles 2023-03-06 16:19:16 +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
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
Wojciech Figat
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
8896ebadda Minor fixes for dotnet7 2023-01-06 11:31:08 +01:00
Wojtek Figat
c48a81a068 Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Editor/Managed/ManagedEditor.Internal.cpp
#	Source/Engine/Core/Config/LayersAndTagsSettings.cs
2022-12-28 18:49:14 +01:00
Wojtek Figat
16e7c429fc Minor code cleanup #873 2022-12-28 17:25:30 +01:00
5c9a27a6d6 Serialize C++ includes cache results
Almost half the build tool runtime is spent scanning includes in C++-files, now the results are cached and invalidated when files last write timestamp changes.
2022-12-28 14:25:11 +02:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
Wojciech Figat
d544c43744 Style fix 2022-12-08 16:30:58 +01:00
Wojciech Figat
f426c75696 Fix recursive binary modules usage in scripting 2022-12-06 11:43:19 +01:00
c4be764f61 Add nethost module and EngineConfiguration for .NET runtime 2022-11-26 13:50:32 +02:00
Wojtek Figat
7af0dc1b43 Add support for setting C++ version for build module compilation 2022-08-07 16:46:17 +02:00
Wojtek Figat
66d1015399 Simplify build options merging 2022-07-18 18:09:11 +02:00
Wojtek Figat
b67649dfbd Add ExternalModules to game modules for custom scripting binaries linking 2022-07-18 18:09:10 +02:00
Wojciech Figat
7a08e035a5 Fix module libraries linking in modular build mode 2022-01-29 21:34:42 +01:00
Wojciech Figat
b09036b378 Fix building project for target platform that one of the plugin targets doesn't support 2022-01-29 14:55:37 +01:00
Wojciech Figat
d032f18b71 Add DotNet targets building 2022-01-14 14:19:46 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
45117e3445 Fix build if generated bindings file is missing 2021-12-31 17:07:35 +01:00
Wojtek Figat
8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
Wojtek Figat
e6ba2402b7 Add TryGetToolchain to build platform
#631
2021-09-28 20:06:26 +02:00
Zbigniew Skowron
294a4d5477 Added LinkEnvironment.LinkAsConsoleProgram flag. 2021-08-15 20:32:58 +02:00
Wojtek Figat
c4102ba884 Fix compiling C#-only game scripts without native platform tools installed 2021-08-06 13:17:23 +02:00
Wojtek Figat
1561eba6fb Add support for using library-style includes for build tool includes cache 2021-07-09 22:23:23 +02:00
Wojtek Figat
9629c48d99 Revert CSharp only project build optimization to fix game cooking
#539 #529
2021-06-03 12:53:18 +02:00
GoaLitiuM
5e8da3ba5f Include toolchain preprocessor definitions in binding generation 2021-05-31 16:58:38 +03:00
GoaLitiuM
327ccec4cb Only build bindings for project references with C#-only projects 2021-05-24 18:57:05 +03:00
Wojtek Figat
1a55e7c734 Fix copying missing dependency files for C#-only binary modules build 2021-05-19 16:55:35 +02:00
Wojtek Figat
427541b488 Fix using cross-module references inside C++ game project 2021-03-29 14:41:29 +02:00
Wojtek Figat
6f12dc8567 Add improved dll import/export attributes injection when building binary modules 2021-02-25 13:02:13 +01:00
Wojtek Figat
b193a7abc4 Add support for binary modules with native-code only 2021-02-25 13:01:15 +01:00