CMakeLists.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
  2. SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
  3. # Enable C++11
  4. ADD_DEFINITIONS(-std=c++0x)
  5. IF(LMMS_BUILD_APPLE)
  6. SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
  7. ENDIF()
  8. INCLUDE_DIRECTORIES(
  9. ${SAMPLERATE_INCLUDE_DIRS}
  10. )
  11. SET(PLUGIN_LIST "" CACHE STRING "List of plug-ins to build")
  12. STRING(REPLACE " " ";" PLUGIN_LIST "${PLUGIN_LIST}")
  13. OPTION(LMMS_MINIMAL "Build a minimal list of plug-ins" OFF)
  14. SET(MINIMAL_LIST
  15. audio_file_processor
  16. kicker
  17. triple_oscillator
  18. )
  19. IF(LMMS_MINIMAL)
  20. IF("${PLUGIN_LIST}" STREQUAL "")
  21. STRING(REPLACE ";" " " MINIMAL_LIST_STRING "${MINIMAL_LIST}")
  22. MESSAGE(
  23. "-- Using minimal plug-ins: ${MINIMAL_LIST_STRING}\n"
  24. " Note: You can specify specific plug-ins using -DPLUGIN_LIST=\"foo bar\""
  25. )
  26. ENDIF()
  27. SET(PLUGIN_LIST ${MINIMAL_LIST} ${PLUGIN_LIST})
  28. ENDIF()
  29. IF("${PLUGIN_LIST}" STREQUAL "")
  30. SET(PLUGIN_LIST
  31. ${MINIMAL_LIST}
  32. Amplifier
  33. BassBooster
  34. bit_invader
  35. Bitcrush
  36. carlabase
  37. carlapatchbay
  38. carlarack
  39. CrossoverEQ
  40. Delay
  41. DualFilter
  42. dynamics_processor
  43. Eq
  44. Flanger
  45. HydrogenImport
  46. ladspa_browser
  47. LadspaEffect
  48. lb302
  49. MidiImport
  50. MidiExport
  51. MultitapEcho
  52. monstro
  53. nes
  54. opl2
  55. organic
  56. papu
  57. patman
  58. peak_controller_effect
  59. GigPlayer
  60. ReverbSC
  61. sf2_player
  62. sfxr
  63. sid
  64. SpectrumAnalyzer
  65. stereo_enhancer
  66. stereo_matrix
  67. stk
  68. vestige
  69. vst_base
  70. VstEffect
  71. watsyn
  72. waveshaper
  73. vibed
  74. zynaddsubfx
  75. )
  76. ENDIF("${PLUGIN_LIST}" STREQUAL "")
  77. FOREACH(PLUGIN ${PLUGIN_LIST})
  78. ADD_SUBDIRECTORY(${PLUGIN})
  79. ENDFOREACH()