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.

127 lines
4.7KB

  1. /*
  2. ==============================================================================
  3. Build options for juce_core static library
  4. ==============================================================================
  5. */
  6. #ifndef CARLA_JUCE_CORE_APPCONFIG_H_INCLUDED
  7. #define CARLA_JUCE_CORE_APPCONFIG_H_INCLUDED
  8. #include "system/juce_TargetPlatform.h"
  9. //=============================================================================
  10. /** Config: JUCE_FORCE_DEBUG
  11. Normally, JUCE_DEBUG is set to 1 or 0 based on compiler and project settings,
  12. but if you define this value, you can override this to force it to be true or false.
  13. */
  14. #define JUCE_FORCE_DEBUG 0
  15. //=============================================================================
  16. /** Config: JUCE_LOG_ASSERTIONS
  17. If this flag is enabled, the the jassert and jassertfalse macros will always use Logger::writeToLog()
  18. to write a message when an assertion happens.
  19. Enabling it will also leave this turned on in release builds. When it's disabled,
  20. however, the jassert and jassertfalse macros will not be compiled in a
  21. release build.
  22. @see jassert, jassertfalse, Logger
  23. */
  24. #define JUCE_LOG_ASSERTIONS 1
  25. //=============================================================================
  26. /** Config: JUCE_CHECK_MEMORY_LEAKS
  27. Enables a memory-leak check for certain objects when the app terminates. See the LeakedObjectDetector
  28. class and the JUCE_LEAK_DETECTOR macro for more details about enabling leak checking for specific classes.
  29. */
  30. #ifdef DEBUG
  31. #define JUCE_CHECK_MEMORY_LEAKS 1
  32. #else
  33. #define JUCE_CHECK_MEMORY_LEAKS 0
  34. #endif
  35. //=============================================================================
  36. /** Config: JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
  37. In a Visual C++ build, this can be used to stop the required system libs being
  38. automatically added to the link stage.
  39. */
  40. #define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES 0
  41. /** Config: JUCE_INCLUDE_ZLIB_CODE
  42. This can be used to disable Juce's embedded 3rd-party zlib code.
  43. You might need to tweak this if you're linking to an external zlib library in your app,
  44. but for normal apps, this option should be left alone.
  45. If you disable this, you might also want to set a value for JUCE_ZLIB_INCLUDE_PATH, to
  46. specify the path where your zlib headers live.
  47. */
  48. #define JUCE_INCLUDE_ZLIB_CODE 1
  49. /** Config: JUCE_USE_CURL
  50. Enables http/https support via libcurl (Linux only). Enabling this will add an additional
  51. run-time dynmic dependency to libcurl.
  52. If you disable this then https/ssl support will not be available on linux.
  53. */
  54. #define JUCE_USE_CURL 0
  55. /* Config: JUCE_CATCH_UNHANDLED_EXCEPTIONS
  56. If enabled, this will add some exception-catching code to forward unhandled exceptions
  57. to your JUCEApplicationBase::unhandledException() callback.
  58. */
  59. #define JUCE_CATCH_UNHANDLED_EXCEPTIONS 0
  60. // misc
  61. #define JUCE_DISABLE_JUCE_VERSION_PRINTING 1
  62. #define JUCE_STANDALONE_APPLICATION 0
  63. #define JUCE_STRING_UTF_TYPE 8
  64. #define JUCE_USE_VFORK 1
  65. // not used/wanted
  66. #define JUCE_USE_XRANDR 0
  67. #define JUCE_USE_XINERAMA 0
  68. #if ! (JUCE_MAC || JUCE_WINDOWS)
  69. # define JUCE_MODAL_LOOPS_PERMITTED 0
  70. # define JUCE_AUDIO_PROCESSOR_NO_GUI 1
  71. #endif
  72. // always enabled
  73. #define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
  74. #define JUCE_MODULE_AVAILABLE_juce_audio_formats 1
  75. #define JUCE_MODULE_AVAILABLE_juce_core 1
  76. // always disabled
  77. #define JUCE_MODULE_AVAILABLE_juce_audio_plugin_client 0
  78. #define JUCE_MODULE_AVAILABLE_juce_audio_utils 0
  79. #define JUCE_MODULE_AVAILABLE_juce_cryptography 0
  80. #define JUCE_MODULE_AVAILABLE_juce_opengl 0
  81. #define JUCE_MODULE_AVAILABLE_juce_video 0
  82. // conditional
  83. #if JUCE_MAC || JUCE_WINDOWS
  84. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 1
  85. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 1
  86. # define JUCE_MODULE_AVAILABLE_juce_data_structures 1
  87. # define JUCE_MODULE_AVAILABLE_juce_events 1
  88. # define JUCE_MODULE_AVAILABLE_juce_graphics 1
  89. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 1
  90. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 1
  91. #else
  92. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 0
  93. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 0
  94. # define JUCE_MODULE_AVAILABLE_juce_data_structures 0
  95. # define JUCE_MODULE_AVAILABLE_juce_events 0
  96. # define JUCE_MODULE_AVAILABLE_juce_graphics 0
  97. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 0
  98. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 0
  99. #endif
  100. #endif // CARLA_JUCE_CORE_APPCONFIG_H_INCLUDED