Cleanup dependency modules code a bit

This commit is contained in:
Wojtek Figat
2026-03-06 12:20:16 +01:00
parent 0fa3472f24
commit 6fcc963cf6
37 changed files with 50 additions and 99 deletions

View File

@@ -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;

View File

@@ -42,4 +42,18 @@ namespace Flax.Build
}
}
}
/// <summary>
/// The engine dependency module.
/// </summary>
/// <seealso cref="Flax.Build.DepsModule" />
public abstract class EngineDepsModule : DepsModule
{
/// <inheritdoc />
public EngineDepsModule()
{
// Merge third-party modules into engine binary
BinaryModuleName = "FlaxEngine";
}
}
}

View File

@@ -1,3 +1,5 @@
// Copyright (c) Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
using System.IO;

View File

@@ -1,7 +1,5 @@
// Copyright (c) Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
using Flax.Build.NativeCpp;
namespace Flax.Build

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Flax Engine. All rights reserved.
// Copyright (c) Wojciech Figat. All rights reserved.
namespace Flax.Build
{

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Flax Engine. All rights reserved.
// Copyright (c) Wojciech Figat. All rights reserved.
#define USE_STD

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2012-2024 Flax Engine. All rights reserved.
// Copyright (c) Wojciech Figat. All rights reserved.
#define USE_STD

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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)
{

View File

@@ -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;

View File

@@ -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;

View File

@@ -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
{

View File

@@ -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;