LMMS
Loading...
Searching...
No Matches
AppConfig.h
Go to the documentation of this file.
1/*
2 * Carla Plugin Host
3 * Copyright (C) 2011-2022 Filipe Coelho <falktx@falktx.com>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * For a full copy of the GNU General Public License see the doc/GPL.txt file.
16 */
17
18#ifndef CARLA_JUCE_APPCONFIG_H_INCLUDED
19#define CARLA_JUCE_APPCONFIG_H_INCLUDED
20
21#if defined(DEBUG) && defined(NDEBUG)
22# undef DEBUG
23#endif
24
25#define juce carlajuce
26
27// --------------------------------------------------------------------------------------------------------------------
28// Check OS
29
30#if defined(WIN64) || defined(_WIN64) || defined(__WIN64__)
31# define APPCONFIG_OS_WIN64
32#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
33# define APPCONFIG_OS_WIN32
34#elif defined(__APPLE__)
35# define APPCONFIG_OS_MAC
36#elif defined(__linux__) || defined(__linux)
37# define APPCONFIG_OS_LINUX
38#elif defined(__FreeBSD__)
39# define APPCONFIG_OS_FREEBSD
40#endif
41
42#if defined(APPCONFIG_OS_WIN32) || defined(APPCONFIG_OS_WIN64)
43# define APPCONFIG_OS_WIN
44#elif defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_FREEBSD) || defined(APPCONFIG_OS_MAC)
45# define APPCONFIG_OS_UNIX
46#endif
47
48// --------------------------------------------------------------------------------------------------------------------
49
50// always enabled
51#define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
52#define JUCE_MODULE_AVAILABLE_juce_audio_processors 1
53#define JUCE_MODULE_AVAILABLE_juce_core 1
54#define JUCE_MODULE_AVAILABLE_juce_data_structures 1
55#define JUCE_MODULE_AVAILABLE_juce_events 1
56#define JUCE_MODULE_AVAILABLE_juce_graphics 1
57#define JUCE_MODULE_AVAILABLE_juce_gui_basics 1
58#define JUCE_MODULE_AVAILABLE_juce_gui_extra 1
59
60// always disabled
61#define JUCE_MODULE_AVAILABLE_juce_audio_formats 0
62#define JUCE_MODULE_AVAILABLE_juce_audio_plugin_client 0
63#define JUCE_MODULE_AVAILABLE_juce_audio_utils 0
64#define JUCE_MODULE_AVAILABLE_juce_cryptography 0
65#define JUCE_MODULE_AVAILABLE_juce_opengl 0
66#define JUCE_MODULE_AVAILABLE_juce_video 0
67
68// conditional
69#if defined(USING_JUCE_AUDIO_DEVICES) && !defined(BUILD_BRIDGE)
70# define JUCE_MODULE_AVAILABLE_juce_audio_devices 1
71#else
72# define JUCE_MODULE_AVAILABLE_juce_audio_devices 0
73#endif
74
75// misc
76#define JUCE_DISABLE_JUCE_VERSION_PRINTING 1
77#define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED 1
78#define JUCE_STANDALONE_APPLICATION 0
79#define JUCE_REPORT_APP_USAGE 0
80#define JUCE_DISPLAY_SPLASH_SCREEN 0
81#define JUCE_USE_DARK_SPLASH_SCREEN 0
82#define JUCE_STRING_UTF_TYPE 8
83#define JUCE_USE_VFORK 1
84
85#if defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_FREEBSD)
86# define JUCE_DISABLE_NATIVE_FILECHOOSERS 1
87# define JUCE_MODAL_LOOPS_PERMITTED 0
88// # define JUCE_AUDIOPROCESSOR_NO_GUI 1
89#endif
90
91// --------------------------------------------------------------------------------------------------------------------
92// juce_audio_basics
93
94// nothing here
95
96// --------------------------------------------------------------------------------------------------------------------
97// juce_audio_devices
98
99//=============================================================================
108#ifdef APPCONFIG_OS_WIN
109 #define JUCE_ASIO 1
110#else
111 #define JUCE_ASIO 0
112#endif
113
117#if defined(APPCONFIG_OS_WIN) && !defined(BUILDING_CARLA_NOOPT)
118 #define JUCE_WASAPI 1
119#else
120 #define JUCE_WASAPI 0
121#endif
122
126#ifdef APPCONFIG_OS_WIN
127 #define JUCE_DIRECTSOUND 1
128#else
129 #define JUCE_DIRECTSOUND 0
130#endif
131
135#ifdef APPCONFIG_OS_LINUX
136 #define JUCE_ALSA 1
137 #define JUCE_ALSA_MIDI_NAME "Carla"
138 #define JUCE_ALSA_MIDI_INPUT_NAME "Carla"
139 #define JUCE_ALSA_MIDI_OUTPUT_NAME "Carla"
140 #define JUCE_ALSA_MIDI_INPUT_PORT_NAME "Midi In"
141 #define JUCE_ALSA_MIDI_OUTPUT_PORT_NAME "Midi Out"
142#else
143 #define JUCE_ALSA 0
144#endif
145
149#if defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_FREEBSD)
150 #define JUCE_JACK 1
151 #define JUCE_JACK_CLIENT_NAME "Carla"
152#else
153 #define JUCE_JACK 0
154#endif
155
156//=============================================================================
160#define JUCE_USE_CDREADER 0
161
165#define JUCE_USE_CDBURNER 0
166
167// --------------------------------------------------------------------------------------------------------------------
168// juce_audio_formats
169
170//=============================================================================
176#define JUCE_USE_FLAC 0
177
183#define JUCE_USE_OGGVORBIS 0
184
197#define JUCE_USE_MP3AUDIOFORMAT 0
198
202#define JUCE_USE_LAME_AUDIO_FORMAT 0
203
207#define JUCE_USE_WINDOWS_MEDIA_FORMAT 0
208
209// --------------------------------------------------------------------------------------------------------------------
210// juce_audio_processors
211
212#define JUCE_VST_FALLBACK_HOST_NAME "Carla"
213
214//=============================================================================
221#if (defined(APPCONFIG_OS_MAC) || defined(APPCONFIG_OS_WIN)) && !defined(BUILD_BRIDGE)
222# define JUCE_PLUGINHOST_VST 1
223#else
224# define JUCE_PLUGINHOST_VST 0
225#endif
226
233#if (defined(APPCONFIG_OS_MAC) || defined(APPCONFIG_OS_WIN)) && !defined(BUILD_BRIDGE)
234# define JUCE_PLUGINHOST_VST3 1
235#else
236# define JUCE_PLUGINHOST_VST3 0
237#endif
238
244#ifdef APPCONFIG_OS_MAC
245# define JUCE_PLUGINHOST_AU 1
246#else
247# define JUCE_PLUGINHOST_AU 0
248#endif
249
250#define JUCE_PLUGINHOST_LADSPA 0
251
252// --------------------------------------------------------------------------------------------------------------------
253// juce_core
254
255//=============================================================================
261#define JUCE_FORCE_DEBUG 0
262
263//=============================================================================
275#define JUCE_LOG_ASSERTIONS 1
276
277//=============================================================================
283#ifdef DEBUG
284 #define JUCE_CHECK_MEMORY_LEAKS 1
285 // #define JUCE_DISABLE_ASSERTIONS 1
286#else
287 #define JUCE_CHECK_MEMORY_LEAKS 0
288 // #define JUCE_DISABLE_ASSERTIONS 0
289#endif
290
291//=============================================================================
297#define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES 0
298
307#define JUCE_INCLUDE_ZLIB_CODE 1
308
315#define JUCE_USE_CURL 0
316
317/* Config: JUCE_CATCH_UNHANDLED_EXCEPTIONS
318 If enabled, this will add some exception-catching code to forward unhandled exceptions
319 to your JUCEApplicationBase::unhandledException() callback.
320*/
321#define JUCE_CATCH_UNHANDLED_EXCEPTIONS 0
322
328#define JUCE_ALLOW_STATIC_NULL_VARIABLES 0
329
330// --------------------------------------------------------------------------------------------------------------------
331// juce_data_structures
332
333// nothing here
334
335// --------------------------------------------------------------------------------------------------------------------
336// juce_dsp
337
338//==============================================================================
348#define JUCE_ASSERTION_FIRFILTER 0
349
361#define JUCE_DSP_USE_INTEL_MKL 0
362
375#define JUCE_DSP_USE_SHARED_FFTW 0
376
388#define JUCE_DSP_USE_STATIC_FFTW 0
389
402#define JUCE_DSP_ENABLE_SNAP_TO_ZERO 0
403
404// --------------------------------------------------------------------------------------------------------------------
405// juce_events
406
407// nothing here
408
409// --------------------------------------------------------------------------------------------------------------------
410// juce_graphics
411
412//=============================================================================
419#define JUCE_USE_COREIMAGE_LOADER 1
420
426#define JUCE_USE_DIRECTWRITE 0
427
428#define JUCE_INCLUDE_PNGLIB_CODE 1
429
430#define JUCE_INCLUDE_JPEGLIB_CODE 1
431
432#define USE_COREGRAPHICS_RENDERING 0
433
434// --------------------------------------------------------------------------------------------------------------------
435// juce_gui_basics
436
437//=============================================================================
443#define JUCE_ENABLE_REPAINT_DEBUGGING 0
444
450#define JUCE_USE_XRANDR 0
451
458#define JUCE_USE_XINERAMA 0
459
464#define JUCE_USE_XSHM 1
465
469#define JUCE_USE_XRENDER 0
470
475#define JUCE_USE_XCURSOR 1
476
477// --------------------------------------------------------------------------------------------------------------------
478// juce_gui_extra
479
480//=============================================================================
485#define JUCE_WEB_BROWSER 0
486
491#define JUCE_ENABLE_LIVE_CONSTANT_EDITOR 0
492
493// --------------------------------------------------------------------------------------------------------------------
494
495#endif // CARLA_JUCE_APPCONFIG_H_INCLUDED