Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brglng committed Sep 18, 2023
1 parent 62cfd93 commit 58f0e1c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# libwav
# libwave

libwav is a simple and tiny C library for reading or writing PCM wave (.wav)
libwave is a simple and tiny C library for reading or writing PCM wave (.wav)
files.

## Build and Install
Expand All @@ -25,22 +25,22 @@ On Windows:
Use `FetchContent`:

include(FetchContent)
FetchContent_Declare(libwav
GIT_REPOSITORY "https://github.com/brglng/libwav.git"
FetchContent_Declare(libwave
GIT_REPOSITORY "https://github.com/brglng/libwave.git"
GIT_SHALLOW ON
)
FetchContent_MakeAvailable(libwav)
FetchContent_MakeAvailable(libwave)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wav::wav)
target_link_libraries(yourprogram wave::wave)

Use `add_subdirectory`:

add_subdirectory(libwav)
add_subdirectory(libwave)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wav::wav)
target_link_libraries(yourprogram wave::wave)

Use `find_package`:

find_package(wav)
find_package(wave)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wav::wav)
target_link_libraries(yourprogram wave::wave)

0 comments on commit 58f0e1c

Please # to comment.