From 6fcc963cf6f4eef930623bfcc8bca293d9a8f33a Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 6 Mar 2026 12:20:16 +0100 Subject: [PATCH] Cleanup dependency modules code a bit --- Source/ThirdParty/AGS/AGS.Build.cs | 5 +---- .../DirectX12Agility/DirectX12Agility.Build.cs | 6 +----- Source/ThirdParty/DirectXMesh/DirectXMesh.Build.cs | 5 +---- Source/ThirdParty/DirectXTex/DirectXTex.Build.cs | 5 +---- Source/ThirdParty/NvCloth/NvCloth.Build.cs | 5 +---- Source/ThirdParty/PhysX/PhysX.Build.cs | 5 +---- Source/ThirdParty/SDL/SDL.Build.cs | 5 +---- Source/ThirdParty/UVAtlas/UVAtlas.Build.cs | 5 +---- Source/ThirdParty/assimp/assimp.Build.cs | 5 +---- Source/ThirdParty/astc/astc.Build.cs | 5 +---- .../basis_universal/basis_universal.Build.cs | 5 +---- Source/ThirdParty/curl/curl.Build.cs | 5 +---- Source/ThirdParty/enet/enet.Build.cs | 5 +---- Source/ThirdParty/freetype/freetype.Build.cs | 5 +---- Source/ThirdParty/glslang/glslang.Build.cs | 5 +---- Source/ThirdParty/libportal/libportal.Build.cs | 5 +---- Source/ThirdParty/mono-2.0/mono.Build.cs | 5 +---- Source/ThirdParty/nvapi/nvapi.Build.cs | 5 +---- Source/ThirdParty/ogg/ogg.Build.cs | 5 +---- Source/ThirdParty/spirv-tools/spirv_tools.Build.cs | 5 +---- Source/ThirdParty/vorbis/vorbis.Build.cs | 5 +---- Source/Tools/Flax.Build/Build/Assembler.cs | 2 +- Source/Tools/Flax.Build/Build/DepsModule.cs | 14 ++++++++++++++ Source/Tools/Flax.Build/Build/FileCache.cs | 2 ++ Source/Tools/Flax.Build/Build/GameModule.cs | 2 -- Source/Tools/Flax.Build/Build/TargetPlatform.cs | 2 +- Source/Tools/Flax.Build/Deploy/Deployer.cs | 2 +- .../Tools/Flax.Build/Deploy/Deployment.Editor.cs | 2 +- .../Flax.Build/Deploy/Deployment.Platforms.cs | 2 +- Source/Tools/Flax.Build/Deploy/Deployment.Utils.cs | 2 +- Source/Tools/Flax.Build/Deploy/FlaxBuild.cs | 2 +- Source/Tools/Flax.Build/Deploy/VCEnvironment.cs | 2 +- .../Deps/Dependencies/basis_universal.cs | 1 + .../Tools/Flax.Build/Projects/ProjectGenerator.cs | 2 +- .../Projects/VisualStudio/VisualStudioInstance.cs | 2 +- .../Projects/VisualStudio/VisualStudioVersion.cs | 2 +- .../VisualStudioCode/VisualStudioCodeInstance.cs | 2 +- 37 files changed, 50 insertions(+), 99 deletions(-) diff --git a/Source/ThirdParty/AGS/AGS.Build.cs b/Source/ThirdParty/AGS/AGS.Build.cs index 5ed6a2800..5ea07c64a 100644 --- a/Source/ThirdParty/AGS/AGS.Build.cs +++ b/Source/ThirdParty/AGS/AGS.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK /// -public class AGS : DepsModule +public class AGS : EngineDepsModule { public static bool Use(BuildOptions options) { @@ -21,9 +21,6 @@ public class AGS : DepsModule LicenseType = LicenseTypes.MIT; LicenseFilePath = "LICENSE.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/DirectX12Agility/DirectX12Agility.Build.cs b/Source/ThirdParty/DirectX12Agility/DirectX12Agility.Build.cs index 041211019..035b079f7 100644 --- a/Source/ThirdParty/DirectX12Agility/DirectX12Agility.Build.cs +++ b/Source/ThirdParty/DirectX12Agility/DirectX12Agility.Build.cs @@ -1,12 +1,11 @@ // Copyright (c) Wojciech Figat. All rights reserved. using Flax.Build; -using Flax.Build.NativeCpp; /// /// https://www.nuget.org/packages/Microsoft.Direct3D.D3D12 /// -public class DirectX12Agility : DepsModule +public class DirectX12Agility : EngineDepsModule { /// public override void Init() @@ -15,8 +14,5 @@ public class DirectX12Agility : DepsModule LicenseType = LicenseTypes.MIT; LicenseFilePath = "LICENSE.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } } diff --git a/Source/ThirdParty/DirectXMesh/DirectXMesh.Build.cs b/Source/ThirdParty/DirectXMesh/DirectXMesh.Build.cs index 69d86f4a0..308881dd4 100644 --- a/Source/ThirdParty/DirectXMesh/DirectXMesh.Build.cs +++ b/Source/ThirdParty/DirectXMesh/DirectXMesh.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/microsoft/DirectXMesh /// -public class DirectXMesh : DepsModule +public class DirectXMesh : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class DirectXMesh : DepsModule LicenseType = LicenseTypes.MIT; LicenseFilePath = "LICENSE"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/DirectXTex/DirectXTex.Build.cs b/Source/ThirdParty/DirectXTex/DirectXTex.Build.cs index d73e2bc9a..07bd4fc7e 100644 --- a/Source/ThirdParty/DirectXTex/DirectXTex.Build.cs +++ b/Source/ThirdParty/DirectXTex/DirectXTex.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/microsoft/DirectXTex /// -public class DirectXTex : DepsModule +public class DirectXTex : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class DirectXTex : DepsModule LicenseType = LicenseTypes.MIT; LicenseFilePath = "LICENSE"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/NvCloth/NvCloth.Build.cs b/Source/ThirdParty/NvCloth/NvCloth.Build.cs index 71e9a7e03..7674606cd 100644 --- a/Source/ThirdParty/NvCloth/NvCloth.Build.cs +++ b/Source/ThirdParty/NvCloth/NvCloth.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/NVIDIAGameWorks/NvCloth /// -public class NvCloth : DepsModule +public class NvCloth : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class NvCloth : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "License.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/PhysX/PhysX.Build.cs b/Source/ThirdParty/PhysX/PhysX.Build.cs index 0d877043c..3aa705b4b 100644 --- a/Source/ThirdParty/PhysX/PhysX.Build.cs +++ b/Source/ThirdParty/PhysX/PhysX.Build.cs @@ -8,7 +8,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/NVIDIA-Omniverse/PhysX /// -public class PhysX : DepsModule +public class PhysX : EngineDepsModule { /// public override void Init() @@ -17,9 +17,6 @@ public class PhysX : DepsModule LicenseType = LicenseTypes.BSD3Clause; LicenseFilePath = "License.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/SDL/SDL.Build.cs b/Source/ThirdParty/SDL/SDL.Build.cs index 8b55f56c3..606477c18 100644 --- a/Source/ThirdParty/SDL/SDL.Build.cs +++ b/Source/ThirdParty/SDL/SDL.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://www.libsdl.org/ /// -public class SDL : DepsModule +public class SDL : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class SDL : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "LICENSE.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/UVAtlas/UVAtlas.Build.cs b/Source/ThirdParty/UVAtlas/UVAtlas.Build.cs index bc0141291..c677ce93f 100644 --- a/Source/ThirdParty/UVAtlas/UVAtlas.Build.cs +++ b/Source/ThirdParty/UVAtlas/UVAtlas.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/microsoft/UVAtlas /// -public class UVAtlas : DepsModule +public class UVAtlas : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class UVAtlas : DepsModule LicenseType = LicenseTypes.MIT; LicenseFilePath = "LICENSE"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/assimp/assimp.Build.cs b/Source/ThirdParty/assimp/assimp.Build.cs index af4f1e18e..dac76c82b 100644 --- a/Source/ThirdParty/assimp/assimp.Build.cs +++ b/Source/ThirdParty/assimp/assimp.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://www.assimp.org/ /// -public class assimp : DepsModule +public class assimp : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class assimp : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "LICENSE"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/astc/astc.Build.cs b/Source/ThirdParty/astc/astc.Build.cs index dc5177b03..5f9845bd7 100644 --- a/Source/ThirdParty/astc/astc.Build.cs +++ b/Source/ThirdParty/astc/astc.Build.cs @@ -6,7 +6,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/ARM-software/astc-encoder /// -public class astc : DepsModule +public class astc : EngineDepsModule { /// /// Returns true if can use astc lib for a given build setup. @@ -31,9 +31,6 @@ public class astc : DepsModule LicenseType = LicenseTypes.Apache2; LicenseFilePath = "LICENSE.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/basis_universal/basis_universal.Build.cs b/Source/ThirdParty/basis_universal/basis_universal.Build.cs index 770851628..b274a8cc9 100644 --- a/Source/ThirdParty/basis_universal/basis_universal.Build.cs +++ b/Source/ThirdParty/basis_universal/basis_universal.Build.cs @@ -6,7 +6,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/BinomialLLC/basis_universal /// -public class basis_universal : DepsModule +public class basis_universal : EngineDepsModule { /// /// Returns true if can use basis_universal lib for a given build setup. @@ -30,9 +30,6 @@ public class basis_universal : DepsModule LicenseType = LicenseTypes.Apache2; LicenseFilePath = "LICENSE"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/curl/curl.Build.cs b/Source/ThirdParty/curl/curl.Build.cs index fb46ed5f9..0c5b78cf5 100644 --- a/Source/ThirdParty/curl/curl.Build.cs +++ b/Source/ThirdParty/curl/curl.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://curl.haxx.se/ /// -public class curl : DepsModule +public class curl : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class curl : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "curl License.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/enet/enet.Build.cs b/Source/ThirdParty/enet/enet.Build.cs index fbbb56116..39bd3fdb0 100644 --- a/Source/ThirdParty/enet/enet.Build.cs +++ b/Source/ThirdParty/enet/enet.Build.cs @@ -6,7 +6,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/zpl-c/enet /// -public class ENet : DepsModule +public class ENet : EngineDepsModule { /// public override void Init() @@ -15,9 +15,6 @@ public class ENet : DepsModule LicenseType = LicenseTypes.MIT; LicenseFilePath = "enet License.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/freetype/freetype.Build.cs b/Source/ThirdParty/freetype/freetype.Build.cs index 85c1d8e89..d4d357373 100644 --- a/Source/ThirdParty/freetype/freetype.Build.cs +++ b/Source/ThirdParty/freetype/freetype.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://www.freetype.org/ /// -public class freetype : DepsModule +public class freetype : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class freetype : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "LICENSE.TXT"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/glslang/glslang.Build.cs b/Source/ThirdParty/glslang/glslang.Build.cs index c51a7b1d0..d37a12c5f 100644 --- a/Source/ThirdParty/glslang/glslang.Build.cs +++ b/Source/ThirdParty/glslang/glslang.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/KhronosGroup/glslang /// -public class glslang : DepsModule +public class glslang : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class glslang : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "LICENSE.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/libportal/libportal.Build.cs b/Source/ThirdParty/libportal/libportal.Build.cs index 6fab950f9..d2f16ee7e 100644 --- a/Source/ThirdParty/libportal/libportal.Build.cs +++ b/Source/ThirdParty/libportal/libportal.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/flatpak/libportal /// -public class libportal : DepsModule +public class libportal : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class libportal : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "LICENSE.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/mono-2.0/mono.Build.cs b/Source/ThirdParty/mono-2.0/mono.Build.cs index 6551c0eaa..201c5a3c3 100644 --- a/Source/ThirdParty/mono-2.0/mono.Build.cs +++ b/Source/ThirdParty/mono-2.0/mono.Build.cs @@ -8,7 +8,7 @@ using Flax.Build.NativeCpp; /// /// https://www.mono-project.com/ /// -public class mono : DepsModule +public class mono : EngineDepsModule { /// public override void Init() @@ -17,9 +17,6 @@ public class mono : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "LICENSE"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/nvapi/nvapi.Build.cs b/Source/ThirdParty/nvapi/nvapi.Build.cs index 3e7afe16a..091526da9 100644 --- a/Source/ThirdParty/nvapi/nvapi.Build.cs +++ b/Source/ThirdParty/nvapi/nvapi.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/NVIDIA/nvapi /// -public class nvapi : DepsModule +public class nvapi : EngineDepsModule { public static bool Use(BuildOptions options) { @@ -21,9 +21,6 @@ public class nvapi : DepsModule LicenseType = LicenseTypes.MIT; LicenseFilePath = "License.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/ogg/ogg.Build.cs b/Source/ThirdParty/ogg/ogg.Build.cs index f8b14bffa..d48a2c3f2 100644 --- a/Source/ThirdParty/ogg/ogg.Build.cs +++ b/Source/ThirdParty/ogg/ogg.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/xiph/ogg /// -public class ogg : DepsModule +public class ogg : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class ogg : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "COPYING"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/spirv-tools/spirv_tools.Build.cs b/Source/ThirdParty/spirv-tools/spirv_tools.Build.cs index 2b6265982..056a93e4a 100644 --- a/Source/ThirdParty/spirv-tools/spirv_tools.Build.cs +++ b/Source/ThirdParty/spirv-tools/spirv_tools.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/KhronosGroup/SPIRV-Tools /// -public class spirv_tools : DepsModule +public class spirv_tools : EngineDepsModule { /// public override void Init() @@ -17,9 +17,6 @@ public class spirv_tools : DepsModule Name = "spirv-tools"; LicenseType = LicenseTypes.Custom; LicenseFilePath = "LICENSE.txt"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/ThirdParty/vorbis/vorbis.Build.cs b/Source/ThirdParty/vorbis/vorbis.Build.cs index edd55d886..e7b4970be 100644 --- a/Source/ThirdParty/vorbis/vorbis.Build.cs +++ b/Source/ThirdParty/vorbis/vorbis.Build.cs @@ -7,7 +7,7 @@ using Flax.Build.NativeCpp; /// /// https://github.com/xiph/vorbis /// -public class vorbis : DepsModule +public class vorbis : EngineDepsModule { /// public override void Init() @@ -16,9 +16,6 @@ public class vorbis : DepsModule LicenseType = LicenseTypes.Custom; LicenseFilePath = "COPYING"; - - // Merge third-party modules into engine binary - BinaryModuleName = "FlaxEngine"; } /// diff --git a/Source/Tools/Flax.Build/Build/Assembler.cs b/Source/Tools/Flax.Build/Build/Assembler.cs index 8f81c9e41..90f7e3c33 100644 --- a/Source/Tools/Flax.Build/Build/Assembler.cs +++ b/Source/Tools/Flax.Build/Build/Assembler.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System; using System.IO; diff --git a/Source/Tools/Flax.Build/Build/DepsModule.cs b/Source/Tools/Flax.Build/Build/DepsModule.cs index 8039eb36d..b9eee5aa3 100644 --- a/Source/Tools/Flax.Build/Build/DepsModule.cs +++ b/Source/Tools/Flax.Build/Build/DepsModule.cs @@ -42,4 +42,18 @@ namespace Flax.Build } } } + + /// + /// The engine dependency module. + /// + /// + public abstract class EngineDepsModule : DepsModule + { + /// + public EngineDepsModule() + { + // Merge third-party modules into engine binary + BinaryModuleName = "FlaxEngine"; + } + } } diff --git a/Source/Tools/Flax.Build/Build/FileCache.cs b/Source/Tools/Flax.Build/Build/FileCache.cs index d21e0848a..ed7456306 100644 --- a/Source/Tools/Flax.Build/Build/FileCache.cs +++ b/Source/Tools/Flax.Build/Build/FileCache.cs @@ -1,3 +1,5 @@ +// Copyright (c) Wojciech Figat. All rights reserved. + using System; using System.Collections.Generic; using System.IO; diff --git a/Source/Tools/Flax.Build/Build/GameModule.cs b/Source/Tools/Flax.Build/Build/GameModule.cs index 8543c2538..38e527240 100644 --- a/Source/Tools/Flax.Build/Build/GameModule.cs +++ b/Source/Tools/Flax.Build/Build/GameModule.cs @@ -1,7 +1,5 @@ // Copyright (c) Wojciech Figat. All rights reserved. -using System; -using System.Collections.Generic; using Flax.Build.NativeCpp; namespace Flax.Build diff --git a/Source/Tools/Flax.Build/Build/TargetPlatform.cs b/Source/Tools/Flax.Build/Build/TargetPlatform.cs index e51c92674..7e775a9ec 100644 --- a/Source/Tools/Flax.Build/Build/TargetPlatform.cs +++ b/Source/Tools/Flax.Build/Build/TargetPlatform.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. namespace Flax.Build { diff --git a/Source/Tools/Flax.Build/Deploy/Deployer.cs b/Source/Tools/Flax.Build/Deploy/Deployer.cs index d90c0f5e9..7136a34ca 100644 --- a/Source/Tools/Flax.Build/Deploy/Deployer.cs +++ b/Source/Tools/Flax.Build/Deploy/Deployer.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. #define USE_STD diff --git a/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs b/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs index 98a9ef530..f786bdc51 100644 --- a/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs +++ b/Source/Tools/Flax.Build/Deploy/Deployment.Editor.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. #define USE_STD diff --git a/Source/Tools/Flax.Build/Deploy/Deployment.Platforms.cs b/Source/Tools/Flax.Build/Deploy/Deployment.Platforms.cs index ef3b991d7..a3b6c4aba 100644 --- a/Source/Tools/Flax.Build/Deploy/Deployment.Platforms.cs +++ b/Source/Tools/Flax.Build/Deploy/Deployment.Platforms.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System.Collections.Generic; using System.IO; diff --git a/Source/Tools/Flax.Build/Deploy/Deployment.Utils.cs b/Source/Tools/Flax.Build/Deploy/Deployment.Utils.cs index 674d0fbc4..e0217edac 100644 --- a/Source/Tools/Flax.Build/Deploy/Deployment.Utils.cs +++ b/Source/Tools/Flax.Build/Deploy/Deployment.Utils.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System; using System.IO; diff --git a/Source/Tools/Flax.Build/Deploy/FlaxBuild.cs b/Source/Tools/Flax.Build/Deploy/FlaxBuild.cs index c72383858..e7ba6defa 100644 --- a/Source/Tools/Flax.Build/Deploy/FlaxBuild.cs +++ b/Source/Tools/Flax.Build/Deploy/FlaxBuild.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System; using System.IO; diff --git a/Source/Tools/Flax.Build/Deploy/VCEnvironment.cs b/Source/Tools/Flax.Build/Deploy/VCEnvironment.cs index afe5c8e3c..c67e6ed89 100644 --- a/Source/Tools/Flax.Build/Deploy/VCEnvironment.cs +++ b/Source/Tools/Flax.Build/Deploy/VCEnvironment.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System; using System.Collections.Generic; diff --git a/Source/Tools/Flax.Build/Deps/Dependencies/basis_universal.cs b/Source/Tools/Flax.Build/Deps/Dependencies/basis_universal.cs index d31040755..102d88197 100644 --- a/Source/Tools/Flax.Build/Deps/Dependencies/basis_universal.cs +++ b/Source/Tools/Flax.Build/Deps/Dependencies/basis_universal.cs @@ -83,6 +83,7 @@ namespace Flax.Deps.Dependencies Utilities.ReplaceInFile(cmakeListsPath, "if (CMAKE_SYSTEM_NAME STREQUAL \"WASI\")", "if (CMAKE_SYSTEM_NAME STREQUAL \"WASI\" OR BASISU_BUILD_WASM)"); Utilities.ReplaceInFile(cmakeListsPath, "set(BASISU_STATIC OFF CACHE BOOL \"\" FORCE)", ""); + foreach (var platform in options.Platforms) { foreach (var architecture in options.Architectures) { diff --git a/Source/Tools/Flax.Build/Projects/ProjectGenerator.cs b/Source/Tools/Flax.Build/Projects/ProjectGenerator.cs index a6e5b79ad..a24fff6bb 100644 --- a/Source/Tools/Flax.Build/Projects/ProjectGenerator.cs +++ b/Source/Tools/Flax.Build/Projects/ProjectGenerator.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System; using System.Collections.Generic; diff --git a/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioInstance.cs b/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioInstance.cs index 16e5fee80..0fa096089 100644 --- a/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioInstance.cs +++ b/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioInstance.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System; using System.Collections.Generic; diff --git a/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioVersion.cs b/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioVersion.cs index e7fc03c71..b6dd43db7 100644 --- a/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioVersion.cs +++ b/Source/Tools/Flax.Build/Projects/VisualStudio/VisualStudioVersion.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. namespace Flax.Build.Projects.VisualStudio { diff --git a/Source/Tools/Flax.Build/Projects/VisualStudioCode/VisualStudioCodeInstance.cs b/Source/Tools/Flax.Build/Projects/VisualStudioCode/VisualStudioCodeInstance.cs index 4815c9e65..020867b8d 100644 --- a/Source/Tools/Flax.Build/Projects/VisualStudioCode/VisualStudioCodeInstance.cs +++ b/Source/Tools/Flax.Build/Projects/VisualStudioCode/VisualStudioCodeInstance.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2024 Flax Engine. All rights reserved. +// Copyright (c) Wojciech Figat. All rights reserved. using System; using System.IO;