Skip to content

Commit

Permalink
Collate a list of EPS VST targets
Browse files Browse the repository at this point in the history
  • Loading branch information
firthm01 committed Mar 17, 2024
1 parent 7155b52 commit 87af62a
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ set(EPS_SHARED_DIR ${CMAKE_CURRENT_SOURCE_DIR}/shared)
set(JUCE_SUPPORT_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/shared/resources)
add_subdirectory(${EPS_SHARED_DIR}/version)

set(EPS_PLUGIN_TARGETS)
add_subdirectory(ear-production-suite-plugins)
add_subdirectory(reaper-adm-extension)
add_subdirectory(reaper-adm-export-source-plugin)
Expand Down
4 changes: 4 additions & 0 deletions cmake_modules/juce_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ function(add_juce_vst3_plugin PLUGIN_NAME)
target_include_directories(${PLUGIN_NAME}_VST3 PRIVATE ${_SUPPORT_PATH}/ ${EPS_SHARED_DIR})
target_link_libraries(${PLUGIN_NAME}_VST3 PRIVATE Juce::VST3)

set(EPS_PLUGIN_TARGETS_COPY ${EPS_PLUGIN_TARGETS})
list(APPEND EPS_PLUGIN_TARGETS_COPY ${PLUGIN_NAME}_VST3 )
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS_COPY} PARENT_SCOPE)

set_target_properties(${PLUGIN_NAME}_VST3 PROPERTIES
BUNDLE TRUE
OUTPUT_NAME "${PLUGIN_OUTPUT_NAME}"
Expand Down
1 change: 1 addition & 0 deletions ear-production-suite-plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ endif()

add_subdirectory(lib)
add_subdirectory(plugins)
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
add_subdirectory(tools)
add_subdirectory(packaging)
if(EAR_PLUGINS_UNIT_TESTS)
Expand Down
2 changes: 1 addition & 1 deletion ear-production-suite-plugins/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ add_subdirectory(hoa)
add_subdirectory(scene)
add_subdirectory(monitoring)
add_subdirectory(binaural_monitoring)

set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ add_juce_vst3_plugin(
DISPLAY_NAME "EAR Binaural Monitoring"
DESCRIPTION "The binaural monitoring plugin"
OUTPUT_NAME "EAR Binaural Monitoring")
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
target_link_libraries(ear_binaural_monitoring_VST3 PRIVATE ear-plugin-base ear-version bear)
install(TARGETS ear_binaural_monitoring_VST3 COMPONENT Plugins DESTINATION "${EPS_PLUGIN_INSTALL_PREFIX}ear-production-suite")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ add_juce_vst3_plugin(direct_speakers
DISPLAY_NAME "EAR DirectSpeakers"
DESCRIPTION "The metadata input plugin for channel-based audio"
OUTPUT_NAME "EAR DirectSpeakers")
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
target_link_libraries(direct_speakers_VST3 PRIVATE ear-plugin-base ear-version)
target_compile_definitions(direct_speakers_VST3 PRIVATE USE_NEW_DESIGN)

Expand Down
2 changes: 1 addition & 1 deletion ear-production-suite-plugins/plugins/hoa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ add_juce_vst3_plugin(hoa
DISPLAY_NAME "EAR HOA"
DESCRIPTION "The metadata input plugin for scene-based audio"
OUTPUT_NAME "EAR HOA")
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
target_link_libraries(hoa_VST3 PRIVATE ear-plugin-base ear-version)

install_juce_vst3_plugin(hoa "${EPS_PLUGIN_INSTALL_PREFIX}ear-production-suite")
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function(add_monitoring_plugin SPEAKER_LAYOUT SPEAKER_LAYOUT_NAME AUDIO_PACK_FOR
OUTPUT_NAME "EAR Monitoring ${SPEAKER_LAYOUT}"
IDE_FOLDER ${IDE_FOLDER_PLUGINS}
)
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
target_compile_definitions(
ear_monitoring_${SPEAKER_LAYOUT}_VST3 PRIVATE
SPEAKER_LAYOUT="${SPEAKER_LAYOUT}"
Expand All @@ -75,3 +76,4 @@ if(EAR_PLUGINS_BUILD_ALL_MONITORING_PLUGINS)
add_monitoring_plugin("4+7+0" "7.1+4H" "AP_00010017" "A9")
add_monitoring_plugin("2+7+0" "7.1+2H" "AP_00010016" "AA")
endif()
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
2 changes: 1 addition & 1 deletion ear-production-suite-plugins/plugins/object/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ add_juce_vst3_plugin(object
DISPLAY_NAME "EAR Object"
DESCRIPTION "The metadata input plugin for objects"
OUTPUT_NAME "EAR Object")
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
target_include_directories(object_VST3 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(object_VST3 PRIVATE ear-plugin-base ear-version)
install_juce_vst3_plugin(object "${EPS_PLUGIN_INSTALL_PREFIX}ear-production-suite")
2 changes: 1 addition & 1 deletion ear-production-suite-plugins/plugins/scene/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ add_juce_vst3_plugin(scene
DISPLAY_NAME "EAR Scene"
DESCRIPTION "The scene plugin"
OUTPUT_NAME "EAR Scene")
set(EPS_PLUGIN_TARGETS ${EPS_PLUGIN_TARGETS} PARENT_SCOPE)
target_link_libraries(scene_VST3 PRIVATE ear-plugin-base ear-version)
install_juce_vst3_plugin(scene "${EPS_PLUGIN_INSTALL_PREFIX}ear-production-suite")

Expand Down

0 comments on commit 87af62a

Please sign in to comment.