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.

AppConfig.h 4.1KB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. #if ! (JUCE_MAC || JUCE_WINDOWS)
  53. # define JUCE_MODAL_LOOPS_PERMITTED 0
  54. # define JUCE_AUDIO_PROCESSOR_NO_GUI 1
  55. #endif
  56. // always enabled
  57. #define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
  58. #define JUCE_MODULE_AVAILABLE_juce_audio_formats 1
  59. #define JUCE_MODULE_AVAILABLE_juce_core 1
  60. // always disabled
  61. #define JUCE_MODULE_AVAILABLE_juce_audio_utils 0
  62. #define JUCE_MODULE_AVAILABLE_juce_cryptography 0
  63. #define JUCE_MODULE_AVAILABLE_juce_opengl 0
  64. #define JUCE_MODULE_AVAILABLE_juce_video 0
  65. // conditional
  66. #if JUCE_MAC || JUCE_WINDOWS
  67. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 1
  68. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 1
  69. # define JUCE_MODULE_AVAILABLE_juce_data_structures 1
  70. # define JUCE_MODULE_AVAILABLE_juce_events 1
  71. # define JUCE_MODULE_AVAILABLE_juce_graphics 1
  72. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 1
  73. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 1
  74. #else
  75. # define JUCE_MODULE_AVAILABLE_juce_audio_devices 0
  76. # define JUCE_MODULE_AVAILABLE_juce_audio_processors 0
  77. # define JUCE_MODULE_AVAILABLE_juce_data_structures 0
  78. # define JUCE_MODULE_AVAILABLE_juce_events 0
  79. # define JUCE_MODULE_AVAILABLE_juce_graphics 0
  80. # define JUCE_MODULE_AVAILABLE_juce_gui_basics 0
  81. # define JUCE_MODULE_AVAILABLE_juce_gui_extra 0
  82. #endif
  83. #endif // CARLA_JUCE_CORE_APPCONFIG_H_INCLUDED