-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCMakeLists.txt
39 lines (32 loc) · 1.3 KB
/
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
include(SubprojectVersion)
include(EnableCoverageFlags)
include(SetupJuceTest)
include(SetupCatchTest)
include(SetupChowdspLib)
message(STATUS "Configuring tests for chowdsp_utils")
# set up JUCE
option(CHOWDSP_BUILD_LIVE_GUI_TEST "Build live GUI test app" OFF)
if(NOT CHOWDSP_BUILD_LIVE_GUI_TEST)
message(STATUS "Live GUI test is not being built... skipping juceaide!")
set(JUCE_MODULES_ONLY ON CACHE INTERNAL "Only configure the JUCE modules")
endif()
add_subdirectory(${CMAKE_SOURCE_DIR}/../../JUCE JUCE)
subproject_version(JUCE juce_version)
message(STATUS "VERSION for JUCE: ${juce_version}")
include(AddJUCEModules)
juce_add_module(${CMAKE_SOURCE_DIR}/../foleys_gui_magic)
add_subdirectory(${CMAKE_SOURCE_DIR}/../clap-juce-extensions clap_juce_extensions EXCLUDE_FROM_ALL)
option(CODE_COVERAGE "Enable coverage reporting" OFF)
add_subdirectory(common_tests)
add_subdirectory(dsp_tests)
add_subdirectory(plugin_tests)
add_subdirectory(gui_tests)
add_subdirectory(music_tests)
option(CHOWDSP_CODE_QUALITY_CHECKS "Configure code quality checks for chowdsp modules" OFF)
if(CHOWDSP_CODE_QUALITY_CHECKS)
include(SetupCodeQuality)
endif()
option(CHOWDSP_ENABLE_STATIC_TESTS "Configure compile-time static tests for chowdsp modules" OFF)
if(CHOWDSP_ENABLE_STATIC_TESTS)
add_subdirectory(static_tests)
endif()