CMakeLists.txt 481 B

123456789101112131415161718192021
  1. SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
  2. SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
  3. SET(CMAKE_DEBUG_POSTFIX "")
  4. # Enable C++14
  5. SET(CMAKE_CXX_STANDARD 14)
  6. IF(LMMS_BUILD_APPLE)
  7. SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
  8. ENDIF()
  9. INCLUDE_DIRECTORIES(
  10. ${SAMPLERATE_INCLUDE_DIRS}
  11. "${CMAKE_BINARY_DIR}/src"
  12. )
  13. # See cmake/modules/PluginList.cmake
  14. FOREACH(PLUGIN ${PLUGIN_LIST})
  15. ADD_SUBDIRECTORY(${PLUGIN})
  16. ENDFOREACH()