The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 7 technical preview.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For the technical preview this file cannot be licensed commercially.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. namespace juce
  14. {
  15. namespace build_tools
  16. {
  17. struct EntitlementOptions final
  18. {
  19. String getEntitlementsFileContent() const;
  20. ProjectType::Target::Type type = ProjectType::Target::GUIApp;
  21. bool isiOS = false;
  22. bool isAudioPluginProject = false;
  23. bool shouldEnableIAA = false;
  24. bool isiCloudPermissionsEnabled = false;
  25. bool isPushNotificationsEnabled = false;
  26. bool isAppGroupsEnabled = false;
  27. bool isHardenedRuntimeEnabled = false;
  28. bool isAppSandboxEnabled = false;
  29. bool isAppSandboxInhertianceEnabled = false;
  30. bool isNetworkingMulticastEnabled = false;
  31. String appGroupIdString;
  32. StringArray hardenedRuntimeOptions;
  33. StringArray appSandboxOptions;
  34. struct KeyAndStringArray
  35. {
  36. String key;
  37. StringArray values;
  38. };
  39. std::vector<KeyAndStringArray> appSandboxTemporaryPaths;
  40. private:
  41. StringPairArray getEntitlements() const;
  42. };
  43. }
  44. }