CefBase.Build.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Copyright aXiuShen. All Rights Reserved.
  2. using UnrealBuildTool;
  3. using System.IO;
  4. //using System.IO.Compression;
  5. public class CefBase : ModuleRules
  6. {
  7. public CefBase(ReadOnlyTargetRules Target) : base(Target)
  8. {
  9. PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
  10. if (Target.Version.MajorVersion < 5) CppStandard = CppStandardVersion.Cpp17;
  11. string CEFRoot = Path.Combine(ModuleDirectory, "Public");
  12. PublicSystemIncludePaths.Add(Path.Combine(CEFRoot));
  13. //ZipFile.ExtractToDirectory("aa.zip", CEFRoot);
  14. PublicIncludePaths.AddRange(
  15. new string[] {
  16. // ... add public include paths required here ...
  17. }
  18. );
  19. PrivateIncludePaths.AddRange(
  20. new string[] {
  21. // ... add other private include paths required here ...
  22. }
  23. );
  24. PublicDependencyModuleNames.AddRange(
  25. new string[]
  26. {
  27. "Core",
  28. "cefForUe"
  29. // ... add other public dependencies that you statically link with here ...
  30. }
  31. );
  32. PrivateDependencyModuleNames.AddRange(
  33. new string[]
  34. {
  35. "CoreUObject",
  36. "Engine",
  37. "Slate",
  38. "SlateCore",
  39. "BaseBrowser",
  40. "Projects",
  41. // ... add private dependencies that you statically link with here ...
  42. }
  43. );
  44. DynamicallyLoadedModuleNames.AddRange(
  45. new string[]
  46. {
  47. // ... add any modules that your module loads dynamically here ...
  48. }
  49. );
  50. }
  51. }