aRts audio server
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.
 
 
 
 
 
 

88 lines
2.5 KiB

  1. #################################################
  2. #
  3. # (C) 2010 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. add_subdirectory( mcopclass )
  12. add_subdirectory( gsl )
  13. add_subdirectory( gslpp )
  14. include_directories(
  15. ${CMAKE_BINARY_DIR}
  16. ${CMAKE_SOURCE_DIR}/artsc
  17. ${CMAKE_BINARY_DIR}/mcop
  18. ${CMAKE_SOURCE_DIR}/mcop
  19. ${CMAKE_CURRENT_BINARY_DIR}
  20. ${CMAKE_CURRENT_SOURCE_DIR}
  21. ${GLIB2_INCLUDE_DIRS}
  22. )
  23. ##### headers ###################################
  24. install( FILES
  25. audiosubsys.h cache.h cachedwav.h convert.h
  26. pipebuffer.h stdsynthmodule.h synthschedule.h
  27. fft.h artsflow.idl audioio.h resample.h cpuinfo.h
  28. bufferqueue.h gslschedule.h
  29. ${CMAKE_CURRENT_BINARY_DIR}/artsflow.h
  30. DESTINATION ${INCLUDE_INSTALL_DIR} )
  31. ##### other data ################################
  32. install( FILES
  33. ${CMAKE_CURRENT_BINARY_DIR}/artsflow.mcoptype
  34. ${CMAKE_CURRENT_BINARY_DIR}/artsflow.mcopclass
  35. DESTINATION ${LIB_INSTALL_DIR}/mcop )
  36. ##### artsflow (shared lib) #####################
  37. set( target artsflow )
  38. set( ${target}_SRCS
  39. synth_play_impl.cc gslschedule.cc audiosubsys.cc
  40. pipebuffer.cc convert.cc synth_wave_sin_impl.cc
  41. synth_frequency_impl.cc synth_multi_add_impl.cc
  42. synth_add_impl.cc synth_mul_impl.cc synth_play_wav_impl.cc
  43. stdsynthmodule.cc cache.cc asyncschedule.cc bytestreamtoaudio_impl.cc
  44. stereovolumecontrol_impl.cc stereoeffectstack_impl.cc
  45. fft.c stereofftscope_impl.cc virtualports.cc bus.cc
  46. audiomanager_impl.cc synth_record_impl.cc resample.cc
  47. audioio.cc audioiooss.cc audioioalsa.cc audioioalsa9.cc
  48. audioionull.cc audioiolibaudioio.cc audioioesd.cc audioiosndio.cc
  49. audioiojack.cc audioiosun.cc audioioaix.cc audioionas.cc
  50. cpuinfo.cc audioioossthreaded.cc audiotobytestream_impl.cc
  51. audioiosgi.cc audioiocsl.cc audioiomas.cc datahandle_impl.cc
  52. )
  53. tde_add_library( ${target} SHARED
  54. SOURCES ${${target}_SRCS}
  55. VERSION 1.0.0
  56. LINK artsgsl-static artsgslpp-static artsflow_idl-shared ${AUDIOFILE_LIBRARIES} ${LIBJACK_LIBRARIES} ${LIBSNDIO_LIBRARIES}
  57. DESTINATION ${LIB_INSTALL_DIR}
  58. )
  59. ##### artsflow_idl (shared lib) #################
  60. add_custom_command(
  61. OUTPUT artsflow.cc
  62. COMMAND ../mcopidl/mcopidl
  63. ARGS -t ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl
  64. )
  65. tde_add_library( artsflow_idl SHARED
  66. SOURCES artsflow.cc
  67. VERSION 1.0.0
  68. LINK mcop-shared ${ALSA_LIBRARIES}
  69. DESTINATION ${LIB_INSTALL_DIR}
  70. DEPENDENCIES mcopidl
  71. )