// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. using System.Collections.Generic; using System.IO; using Flax.Build; /// /// https://github.com/catchorg/Catch2 /// public class catch2 : HeaderOnlyModule { /// public override void Init() { base.Init(); LicenseType = LicenseTypes.BoostSoftwareLicense; LicenseFilePath = "LICENSE.txt"; // Merge into test binary BinaryModuleName = "Engine.Tests"; } /// public override void GetFilesToDeploy(List files) { base.GetFilesToDeploy(files); files.AddRange(Directory.GetFiles(FolderPath, "*.hpp", SearchOption.AllDirectories)); } }