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.

103 lines
4.0KB

  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. #define JUCE_CHECK_MEMORY_LEAKS 1
  31. //=============================================================================
  32. /** Config: JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
  33. In a Visual C++ build, this can be used to stop the required system libs being
  34. automatically added to the link stage.
  35. */
  36. #define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES 0
  37. /** Config: JUCE_INCLUDE_ZLIB_CODE
  38. This can be used to disable Juce's embedded 3rd-party zlib code.
  39. You might need to tweak this if you're linking to an external zlib library in your app,
  40. but for normal apps, this option should be left alone.
  41. If you disable this, you might also want to set a value for JUCE_ZLIB_INCLUDE_PATH, to
  42. specify the path where your zlib headers live.
  43. */
  44. #define JUCE_INCLUDE_ZLIB_CODE 1
  45. /* Config: JUCE_CATCH_UNHANDLED_EXCEPTIONS
  46. If enabled, this will add some exception-catching code to forward unhandled exceptions
  47. to your JUCEApplicationBase::unhandledException() callback.
  48. */
  49. #define JUCE_CATCH_UNHANDLED_EXCEPTIONS 0
  50. #define JUCE_DISABLE_JUCE_VERSION_PRINTING 1
  51. #define JUCE_USE_VFORK 1
  52. // always enabled
  53. #define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
  54. #define JUCE_MODULE_AVAILABLE_juce_audio_formats 1
  55. #define JUCE_MODULE_AVAILABLE_juce_core 1
  56. // always disabled
  57. #define JUCE_MODULE_AVAILABLE_juce_audio_utils 0
  58. #define JUCE_MODULE_AVAILABLE_juce_cryptography 0
  59. #define JUCE_MODULE_AVAILABLE_juce_opengl 0
  60. #define JUCE_MODULE_AVAILABLE_juce_video 0
  61. // conditional
  62. #if JUCE_MAC || JUCE_WINDOWS
  63. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 1
  64. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 1
  65. # define JUCE_MODULE_AVAILABLE_juce_data_structures 1
  66. # define JUCE_MODULE_AVAILABLE_juce_events 1
  67. # define JUCE_MODULE_AVAILABLE_juce_graphics 1
  68. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 1
  69. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 1
  70. #else
  71. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 0
  72. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 0
  73. # define JUCE_MODULE_AVAILABLE_juce_data_structures 0
  74. # define JUCE_MODULE_AVAILABLE_juce_events 0
  75. # define JUCE_MODULE_AVAILABLE_juce_graphics 0
  76. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 0
  77. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 0
  78. #endif
  79. #endif // CARLA_JUCE_CORE_APPCONFIG_H_INCLUDED