Audio plugin host https://kx.studio/carla
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.

145 lines
5.5KB

  1. #ifndef CARLA_JUCE_APPCONFIG_H_INCLUDED
  2. #define CARLA_JUCE_APPCONFIG_H_INCLUDED
  3. // --------------------------------------------------------------------------------------------------------------------
  4. // Check OS
  5. #if defined(WIN64) || defined(_WIN64) || defined(__WIN64__)
  6. # define APPCONFIG_OS_WIN64
  7. #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
  8. # define APPCONFIG_OS_WIN32
  9. #elif defined(__APPLE__)
  10. # define APPCONFIG_OS_MAC
  11. #elif defined(__HAIKU__)
  12. # define APPCONFIG_OS_HAIKU
  13. #elif defined(__linux__) || defined(__linux)
  14. # define APPCONFIG_OS_LINUX
  15. #else
  16. # warning Unsupported platform!
  17. #endif
  18. #if defined(APPCONFIG_OS_WIN32) || defined(APPCONFIG_OS_WIN64)
  19. # define APPCONFIG_OS_WIN
  20. #elif defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_MAC)
  21. # define APPCONFIG_OS_UNIX
  22. #endif
  23. // --------------------------------------------------------------------------------------------------------------------
  24. // always enabled
  25. #define JUCE_MODULE_AVAILABLE_juce_core 1
  26. // always disabled
  27. #define JUCE_MODULE_AVAILABLE_juce_audio_plugin_client 0
  28. #define JUCE_MODULE_AVAILABLE_juce_audio_utils 0
  29. #define JUCE_MODULE_AVAILABLE_juce_cryptography 0
  30. #define JUCE_MODULE_AVAILABLE_juce_opengl 0
  31. #define JUCE_MODULE_AVAILABLE_juce_video 0
  32. // also disabled
  33. #define JUCE_MODULE_AVAILABLE_juce_audio_basics 0
  34. #define JUCE_MODULE_AVAILABLE_juce_audio_devices 0
  35. #define JUCE_MODULE_AVAILABLE_juce_audio_formats 0
  36. #define JUCE_MODULE_AVAILABLE_juce_audio_processors 0
  37. #define JUCE_MODULE_AVAILABLE_juce_data_structures 0
  38. #define JUCE_MODULE_AVAILABLE_juce_events 0
  39. #define JUCE_MODULE_AVAILABLE_juce_graphics 0
  40. #define JUCE_MODULE_AVAILABLE_juce_gui_basics 0
  41. #define JUCE_MODULE_AVAILABLE_juce_gui_extra 0
  42. // misc
  43. #define JUCE_DISABLE_JUCE_VERSION_PRINTING 1
  44. #define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED 1
  45. #define JUCE_STANDALONE_APPLICATION 0
  46. #define JUCE_REPORT_APP_USAGE 0
  47. #define JUCE_DISPLAY_SPLASH_SCREEN 0
  48. #define JUCE_USE_DARK_SPLASH_SCREEN 0
  49. #define JUCE_STRING_UTF_TYPE 8
  50. #define JUCE_USE_VFORK 1
  51. #if ! (defined(APPCONFIG_OS_MAC) || defined(APPCONFIG_OS_WIN))
  52. # define JUCE_MODAL_LOOPS_PERMITTED 0
  53. # define JUCE_AUDIOPROCESSOR_NO_GUI 1
  54. #endif
  55. // --------------------------------------------------------------------------------------------------------------------
  56. // juce_core
  57. //=============================================================================
  58. /** Config: JUCE_FORCE_DEBUG
  59. Normally, JUCE_DEBUG is set to 1 or 0 based on compiler and project settings,
  60. but if you define this value, you can override this to force it to be true or false.
  61. */
  62. #define JUCE_FORCE_DEBUG 0
  63. //=============================================================================
  64. /** Config: JUCE_LOG_ASSERTIONS
  65. If this flag is enabled, the the jassert and jassertfalse macros will always use Logger::writeToLog()
  66. to write a message when an assertion happens.
  67. Enabling it will also leave this turned on in release builds. When it's disabled,
  68. however, the jassert and jassertfalse macros will not be compiled in a
  69. release build.
  70. @see jassert, jassertfalse, Logger
  71. */
  72. #define JUCE_LOG_ASSERTIONS 1
  73. //=============================================================================
  74. /** Config: JUCE_CHECK_MEMORY_LEAKS
  75. Enables a memory-leak check for certain objects when the app terminates. See the LeakedObjectDetector
  76. class and the JUCE_LEAK_DETECTOR macro for more details about enabling leak checking for specific classes.
  77. */
  78. #ifdef DEBUG
  79. #define JUCE_CHECK_MEMORY_LEAKS 1
  80. #else
  81. #define JUCE_CHECK_MEMORY_LEAKS 0
  82. #endif
  83. //=============================================================================
  84. /** Config: JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
  85. In a Visual C++ build, this can be used to stop the required system libs being
  86. automatically added to the link stage.
  87. */
  88. #define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES 0
  89. /** Config: JUCE_INCLUDE_ZLIB_CODE
  90. This can be used to disable Juce's embedded 3rd-party zlib code.
  91. You might need to tweak this if you're linking to an external zlib library in your app,
  92. but for normal apps, this option should be left alone.
  93. If you disable this, you might also want to set a value for JUCE_ZLIB_INCLUDE_PATH, to
  94. specify the path where your zlib headers live.
  95. */
  96. #define JUCE_INCLUDE_ZLIB_CODE 1
  97. /** Config: JUCE_USE_CURL
  98. Enables http/https support via libcurl (Linux only). Enabling this will add an additional
  99. run-time dynmic dependency to libcurl.
  100. If you disable this then https/ssl support will not be available on linux.
  101. */
  102. #define JUCE_USE_CURL 0
  103. /* Config: JUCE_CATCH_UNHANDLED_EXCEPTIONS
  104. If enabled, this will add some exception-catching code to forward unhandled exceptions
  105. to your JUCEApplicationBase::unhandledException() callback.
  106. */
  107. #define JUCE_CATCH_UNHANDLED_EXCEPTIONS 0
  108. /** Config: JUCE_ALLOW_STATIC_NULL_VARIABLES
  109. If disabled, this will turn off dangerous static globals like String::empty, var::null, etc
  110. which can cause nasty order-of-initialisation problems if they are referenced during static
  111. constructor code.
  112. */
  113. #define JUCE_ALLOW_STATIC_NULL_VARIABLES 0
  114. // --------------------------------------------------------------------------------------------------------------------
  115. #endif // CARLA_JUCE_APPCONFIG_H_INCLUDED