Simplified catch2.Build.cs.
This commit is contained in:
@@ -7,7 +7,7 @@ using Flax.Build;
|
|||||||
using Flax.Build.NativeCpp;
|
using Flax.Build.NativeCpp;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The Flax Editor target that builds standalone tests.
|
/// Target that builds standalone, native tests.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class FlaxNativeTestsTarget : EngineTarget
|
public class FlaxNativeTestsTarget : EngineTarget
|
||||||
{
|
{
|
||||||
|
|||||||
11
Source/ThirdParty/catch2/catch2.Build.cs
vendored
11
Source/ThirdParty/catch2/catch2.Build.cs
vendored
@@ -16,16 +16,5 @@ public class catch2 : HeaderOnlyModule
|
|||||||
|
|
||||||
LicenseType = LicenseTypes.BoostSoftwareLicense;
|
LicenseType = LicenseTypes.BoostSoftwareLicense;
|
||||||
LicenseFilePath = "LICENSE.txt";
|
LicenseFilePath = "LICENSE.txt";
|
||||||
|
|
||||||
// Merge into test binary
|
|
||||||
BinaryModuleName = "Engine.Tests";
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
|
||||||
public override void GetFilesToDeploy(List<string> files)
|
|
||||||
{
|
|
||||||
base.GetFilesToDeploy(files);
|
|
||||||
|
|
||||||
files.AddRange(Directory.GetFiles(FolderPath, "*.hpp", SearchOption.AllDirectories));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user