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.

119 lines
4.4KB

  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_CATCH_UNHANDLED_EXCEPTIONS
  50. If enabled, this will add some exception-catching code to forward unhandled exceptions
  51. to your JUCEApplicationBase::unhandledException() callback.
  52. */
  53. #define JUCE_CATCH_UNHANDLED_EXCEPTIONS 0
  54. // misc
  55. #define JUCE_DISABLE_JUCE_VERSION_PRINTING 1
  56. #define JUCE_STANDALONE_APPLICATION 0
  57. #define JUCE_STRING_UTF_TYPE 8
  58. #define JUCE_USE_VFORK 1
  59. // not used/wanted
  60. #define JUCE_USE_XRANDR 0
  61. #define JUCE_USE_XINERAMA 0
  62. #if ! (JUCE_MAC || JUCE_WINDOWS)
  63. # define JUCE_MODAL_LOOPS_PERMITTED 0
  64. # define JUCE_AUDIO_PROCESSOR_NO_GUI 1
  65. #endif
  66. // always enabled
  67. #define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
  68. #define JUCE_MODULE_AVAILABLE_juce_audio_formats 1
  69. #define JUCE_MODULE_AVAILABLE_juce_core 1
  70. // always disabled
  71. #define JUCE_MODULE_AVAILABLE_juce_audio_plugin_client 0
  72. #define JUCE_MODULE_AVAILABLE_juce_audio_utils 0
  73. #define JUCE_MODULE_AVAILABLE_juce_cryptography 0
  74. #define JUCE_MODULE_AVAILABLE_juce_opengl 0
  75. #define JUCE_MODULE_AVAILABLE_juce_video 0
  76. // conditional
  77. #if JUCE_MAC || JUCE_WINDOWS
  78. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 1
  79. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 1
  80. # define JUCE_MODULE_AVAILABLE_juce_data_structures 1
  81. # define JUCE_MODULE_AVAILABLE_juce_events 1
  82. # define JUCE_MODULE_AVAILABLE_juce_graphics 1
  83. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 1
  84. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 1
  85. #else
  86. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 0
  87. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 0
  88. # define JUCE_MODULE_AVAILABLE_juce_data_structures 0
  89. # define JUCE_MODULE_AVAILABLE_juce_events 0
  90. # define JUCE_MODULE_AVAILABLE_juce_graphics 0
  91. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 0
  92. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 0
  93. #endif
  94. #endif // CARLA_JUCE_CORE_APPCONFIG_H_INCLUDED