aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/audio/CMakeLists.txt
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-01-03 11:13:47 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-01-03 11:13:47 +0100
commit2db7c92c0b4f5840884481fa4c95facbdea63bb6 (patch)
tree6c56f2c5288069eed41d78789f66c60e7422ee3c /bindings/audio/CMakeLists.txt
parenta38382e89710db2c298f7f101e3ba0cf3681287c (diff)
Cleanup of the project
The bindings "audio", "media" and "radio" were in the project since its beginning for historical reasons. But this bindings msut not be part of the current tree of sources. Change-Id: I9d903f094ddc4d2457e63987df0c221d2bd7b4d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'bindings/audio/CMakeLists.txt')
-rw-r--r--bindings/audio/CMakeLists.txt27
1 files changed, 0 insertions, 27 deletions
diff --git a/bindings/audio/CMakeLists.txt b/bindings/audio/CMakeLists.txt
deleted file mode 100644
index 11da28e1..00000000
--- a/bindings/audio/CMakeLists.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(alsa alsa)
-PKG_CHECK_MODULES(pulseaudio libpulse libpulse-simple)
-INCLUDE(FindThreads)
-FIND_PACKAGE(Threads)
-
-IF(alsa_FOUND)
-
- MESSAGE(STATUS "ALSA found ; will compile Audio binding... (BINDING)")
-
- IF(pulseaudio_FOUND)
- MESSAGE(STATUS "PulseAudio found ; Audio binding will have PulseAudio support")
- ADD_DEFINITIONS(-DHAVE_PULSE=1)
- SET(pulse_sources audio-pulse.c)
- ENDIF(pulseaudio_FOUND)
-
- INCLUDE_DIRECTORIES(${include_dirs} ${alsa_INCLUDE_DIRS} ${pulseaudio_INCLUDE_DIRS})
- ADD_LIBRARY(audio-api MODULE audio-api.c audio-alsa.c ${pulse_sources})
- SET_TARGET_PROPERTIES(audio-api PROPERTIES
- PREFIX ""
- LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map"
- )
- TARGET_LINK_LIBRARIES(audio-api ${link_libraries} ${alsa_LIBRARIES} ${pulseaudio_LIBRARIES})
- INSTALL(TARGETS audio-api
- LIBRARY DESTINATION ${binding_install_dir})
-
-ENDIF(alsa_FOUND)