mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Always remove old moduleinfo.json, even if AUTO_MANIFEST is off
This commit is contained in:
parent
8aa9b01264
commit
9c5d86cb4f
1 changed files with 6 additions and 1 deletions
|
|
@ -1057,7 +1057,6 @@ function(juce_enable_vst3_manifest_step shared_code_target)
|
|||
|
||||
# Use the helper tool to write out the moduleinfo.json
|
||||
add_custom_command(TARGET ${target_name} POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E remove -f "${product}/Contents/moduleinfo.json"
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory "${product}/Contents/Resources"
|
||||
COMMAND juce_vst3_helper
|
||||
-create
|
||||
|
|
@ -1116,6 +1115,12 @@ function(_juce_set_plugin_target_properties shared_code_target kind)
|
|||
|
||||
get_target_property(vst3_auto_manifest ${shared_code_target} JUCE_VST3_AUTO_MANIFEST)
|
||||
|
||||
add_custom_command(TARGET ${target_name} POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "removing moduleinfo.json"
|
||||
COMMAND ${CMAKE_COMMAND} -E remove -f
|
||||
"${output_path}/Contents/moduleinfo.json"
|
||||
"${output_path}/Contents/Resources/moduleinfo.json")
|
||||
|
||||
if(vst3_auto_manifest)
|
||||
juce_enable_vst3_manifest_step(${shared_code_target})
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue