Nu skapas en mapp Release med senaste versionen av detta VST-3 plugin

This commit is contained in:
crille committed 2026-11-21 14:46:20 +01:00
1 parent f0570b1313
commit febe5c2b97
1 file changed
+12
+12
View File
@@ -53,3 +53,15 @@ target_link_libraries(CrilleBassStrip PRIVATE
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags
)
# Copy the finished VST3 to Release/ after build
set(RELEASE_DIR "${CMAKE_SOURCE_DIR}/Release")
add_custom_command(TARGET CrilleBassStrip_VST3 POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory "${RELEASE_DIR}"
COMMAND ${CMAKE_COMMAND} -E copy_directory
"$<TARGET_FILE_DIR:CrilleBassStrip_VST3>/../.."
"${RELEASE_DIR}/Crille Bass Strip.vst3"
COMMENT "Copying Crille Bass Strip.vst3 to Release"
)