LMMS
Loading...
Searching...
No Matches
juce_lv2_config.h
Go to the documentation of this file.
1/*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
12
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
15
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
18
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 DISCLAIMED.
22
23 ==============================================================================
24*/
25
26/*
27 This header contains preprocessor config flags that would normally be
28 generated by the build systems of the various LV2 libraries.
29
30 Rather than using the generated platform-dependent headers, we use JUCE's
31 platform detection macros to pick the right config values at build time.
32*/
33
34#pragma once
35
36#define LILV_DYN_MANIFEST
37#define LILV_STATIC
38#define LV2_STATIC
39#define SERD_STATIC
40#define SORD_STATIC
41#define SRATOM_STATIC
42#define ZIX_STATIC
43
44#define LILV_VERSION "0.24.12"
45#define SERD_VERSION "0.30.10"
46#define SORD_VERSION "0.16.9"
47
48#define LILV_CXX 1
49
50#if JUCE_WINDOWS
51 #define LILV_DIR_SEP "\\"
52 #define LILV_PATH_SEP ";"
53#else
54 #define LILV_DIR_SEP "/"
55 #define LILV_PATH_SEP ":"
56#endif
57
58#ifndef LILV_DEFAULT_LV2_PATH
59 #if JUCE_MAC || JUCE_IOS
60 #define LILV_DEFAULT_LV2_PATH \
61 "~/Library/Audio/Plug-Ins/LV2" LILV_PATH_SEP \
62 "~/.lv2" LILV_PATH_SEP \
63 "/usr/local/lib/lv2" LILV_PATH_SEP \
64 "/usr/lib/lv2" LILV_PATH_SEP \
65 "/Library/Audio/Plug-Ins/LV2"
66 #elif JUCE_WINDOWS
67 #define LILV_DEFAULT_LV2_PATH \
68 "%APPDATA%\\LV2" LILV_PATH_SEP \
69 "%COMMONPROGRAMFILES%\\LV2"
70 #elif JUCE_LINUX || JUCE_ANDROID
71 #define LILV_DEFAULT_LV2_PATH \
72 "~/.lv2" LILV_PATH_SEP \
73 "/usr/lib/lv2" LILV_PATH_SEP \
74 "/usr/local/lib/lv2"
75 #else
76 #error "Unsupported platform"
77 #endif
78#endif