-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
52 lines (44 loc) · 964 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
juce_add_plugin(Verb
COMPANY_NAME Contrast
FORMATS AU VST3 Standalone
PLUGIN_CODE Verb
PLUGIN_MANUFACTURER_CODE Cont
PRODUCT_NAME "Verb"
)
target_sources(Verb
PRIVATE
Source/Audio/VerbProcessor.cpp
Source/Audio/VerbProcessor.h
Source/GUI/VerbEditor.cpp
Source/GUI/VerbEditor.h
Source/Verb.h
)
target_include_directories(Verb
PRIVATE
Source
)
target_compile_definitions(Verb
PUBLIC
JUCE_WEB_BROWSER=0
JUCE_USE_CURL=0
JUCE_VST3_CAN_REPLACE_VST2=0
)
target_compile_features(Verb
PRIVATE
cxx_std_20
)
target_compile_options(Verb
PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:/W4 /WX>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Wpedantic -Werror>
)
target_link_libraries(Verb
PRIVATE
contrast_shared_resources
juce::juce_audio_utils
PUBLIC
juce::juce_recommended_config_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags
)
juce_generate_juce_header(Verb)