-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
29 lines (25 loc) · 790 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
cmake_minimum_required(VERSION 3.0.0)
project(uno-sampler VERSION 0.1.0)
add_subdirectory(lib/JUCE)
juce_add_plugin(UnoSampler PRODUCT_NAME "Uno" FORMATS AU VST3 Standalone)
target_sources(UnoSampler
PRIVATE
src/UnoProcessor.cpp
src/UnoEditor.cpp
src/gui/BeatPad.cpp
src/gui/KnobWithLabel.cpp
src/gui/SliceWaveform.cpp
src/core/SlicePlayer.cpp
src/core/SliceManager.cpp)
target_compile_definitions(UnoSampler
PUBLIC
JUCE_WEB_BROWSER=0
JUCE_USE_CURL=0
JUCE_VST3_CAN_REPLACE_VST2=0)
target_link_libraries(UnoSampler
PRIVATE
juce::juce_audio_utils
PUBLIC
juce::juce_recommended_config_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags)