diff options
| author | sanine <sanine.not@pm.me> | 2022-09-06 23:21:20 -0500 |
|---|---|---|
| committer | sanine <sanine.not@pm.me> | 2022-09-06 23:21:20 -0500 |
| commit | 500dd00fb11efdd19aef924b0d8ff0b370c28d33 (patch) | |
| tree | d89b17563866950f02ec948b37dea6364b4ac0dc /examples/CMakeLists.txt | |
| parent | 7c678ce0266c66bb1b4d52bd70fb2351019e8ecd (diff) | |
implement mp3 loading
Diffstat (limited to 'examples/CMakeLists.txt')
| -rw-r--r-- | examples/CMakeLists.txt | 7 |
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 .) |
