summaryrefslogtreecommitdiff
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r--examples/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index aea5060..3797392 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -18,3 +18,10 @@ add_dependencies(examples loop)
add_executable(callback ${CMAKE_CURRENT_LIST_DIR}/callback.c)
target_link_libraries(callback mossrose)
add_dependencies(examples callback)
+
+
+add_executable(mp3 ${CMAKE_CURRENT_LIST_DIR}/mp3.c)
+target_link_libraries(mp3 mossrose)
+add_dependencies(examples mp3)
+file(COPY ${CMAKE_CURRENT_LIST_DIR}/sine-mono.mp3 DESTINATION .)
+file(COPY ${CMAKE_CURRENT_LIST_DIR}/weird-stereo.mp3 DESTINATION .)