You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.4 KiB

  1. set( TARGET plug-ins )
  2. set( TARGET_ROOT ${topdir}/plug-ins )
  3. message( STATUS "========== Configuring ${TARGET} ==========" )
  4. def_vars()
  5. list( APPEND SOURCES
  6. SpectralEditMulti.ny
  7. SpectralEditParametricEQ.ny
  8. SpectralEditShelves.ny
  9. StudioFadeOut.ny
  10. adjustable-fade.ny
  11. beat.ny
  12. clipfix.ny
  13. crossfadeclips.ny
  14. crossfadetracks.ny
  15. delay.ny
  16. eq-xml-to-txt-converter.ny
  17. equalabel.ny
  18. highpass.ny
  19. label-sounds.ny
  20. limiter.ny
  21. lowpass.ny
  22. noisegate.ny
  23. notch.ny
  24. nyquist-plug-in-installer.ny
  25. pluck.ny
  26. rhythmtrack.ny
  27. rissetdrum.ny
  28. rms.ny
  29. sample-data-export.ny
  30. sample-data-import.ny
  31. spectral-delete.ny
  32. tremolo.ny
  33. vocalrediso.ny
  34. vocoder.ny
  35. )
  36. foreach( source ${SOURCES} )
  37. set( src "${_SRCDIR}/${source}" )
  38. set( dst "${_DEST}/${TARGET}/${source}" )
  39. add_custom_command(
  40. DEPENDS
  41. "${src}"
  42. COMMAND
  43. ${CMAKE_COMMAND} -E make_directory "${_DEST}/${TARGET}"
  44. COMMAND
  45. ${CMAKE_COMMAND} -E copy "${src}" "${dst}"
  46. OUTPUT
  47. "${dst}"
  48. )
  49. list( APPEND OUTPUTS "${dst}" )
  50. endforeach()
  51. add_custom_target( ${TARGET} ALL DEPENDS ${OUTPUTS} SOURCES ${SOURCES} )
  52. if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
  53. if( NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio*")
  54. install( DIRECTORY "${_DEST}/${TARGET}"
  55. DESTINATION "${_PKGDATA}" )
  56. endif()
  57. endif()