commit 159c5d7aefe3af3b05e28903dc8d09a1e43bdcb8 parent 76a1845a87ad914cc5b45ebf4a466f06440becac Author: fundamental <[email protected]> Date: Sun, 23 Jul 2017 21:18:53 -0400 CMake: Add LV2 TTL Gen To Dep Graph Diffstat:
8 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/Plugin/AlienWah/CMakeLists.txt b/src/Plugin/AlienWah/CMakeLists.txt @@ -24,6 +24,8 @@ add_custom_command(TARGET ZynAlienWah_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynAlienWah_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) +add_dependencies(ZynAlienWah_lv2 lv2-ttl-generator) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lv2/manifest.ttl ${CMAKE_CURRENT_BINARY_DIR}/lv2/presets.ttl diff --git a/src/Plugin/Chorus/CMakeLists.txt b/src/Plugin/Chorus/CMakeLists.txt @@ -24,6 +24,8 @@ add_custom_command(TARGET ZynChorus_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynChorus_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) +add_dependencies(ZynChorus_lv2 lv2-ttl-generator) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lv2/manifest.ttl ${CMAKE_CURRENT_BINARY_DIR}/lv2/presets.ttl diff --git a/src/Plugin/Distortion/CMakeLists.txt b/src/Plugin/Distortion/CMakeLists.txt @@ -24,6 +24,8 @@ add_custom_command(TARGET ZynDistortion_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynDistortion_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) +add_dependencies(ZynDistortion_lv2 lv2-ttl-generator) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lv2/manifest.ttl ${CMAKE_CURRENT_BINARY_DIR}/lv2/presets.ttl diff --git a/src/Plugin/DynamicFilter/CMakeLists.txt b/src/Plugin/DynamicFilter/CMakeLists.txt @@ -24,6 +24,8 @@ add_custom_command(TARGET ZynDynamicFilter_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynDynamicFilter_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) +add_dependencies(ZynDynamicFilter_lv2 lv2-ttl-generator) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lv2/manifest.ttl ${CMAKE_CURRENT_BINARY_DIR}/lv2/presets.ttl diff --git a/src/Plugin/Echo/CMakeLists.txt b/src/Plugin/Echo/CMakeLists.txt @@ -24,6 +24,8 @@ add_custom_command(TARGET ZynEcho_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynEcho_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) +add_dependencies(ZynEcho_lv2 lv2-ttl-generator) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lv2/manifest.ttl ${CMAKE_CURRENT_BINARY_DIR}/lv2/presets.ttl diff --git a/src/Plugin/Phaser/CMakeLists.txt b/src/Plugin/Phaser/CMakeLists.txt @@ -24,6 +24,8 @@ add_custom_command(TARGET ZynPhaser_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynPhaser_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) +add_dependencies(ZynPhaser_lv2 lv2-ttl-generator) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lv2/manifest.ttl ${CMAKE_CURRENT_BINARY_DIR}/lv2/presets.ttl diff --git a/src/Plugin/Reverb/CMakeLists.txt b/src/Plugin/Reverb/CMakeLists.txt @@ -24,6 +24,8 @@ add_custom_command(TARGET ZynReverb_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynReverb_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) +add_dependencies(ZynReverb_lv2 lv2-ttl-generator) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lv2/manifest.ttl ${CMAKE_CURRENT_BINARY_DIR}/lv2/presets.ttl diff --git a/src/Plugin/ZynAddSubFX/CMakeLists.txt b/src/Plugin/ZynAddSubFX/CMakeLists.txt @@ -139,6 +139,8 @@ if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") add_custom_command(TARGET ZynAddSubFX_lv2 POST_BUILD COMMAND ../../lv2-ttl-generator $<TARGET_FILE:ZynAddSubFX_lv2> WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lv2) + + add_dependencies(ZynAddSubFX_lv2 lv2-ttl-generator) endif() install(FILES