CefBase.Build.cs 1.2 KB

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