mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
Add the generate example to the CMake build
This commit is contained in:
parent
9e0e55f8bf
commit
ad2990ec02
@ -647,6 +647,11 @@ if (BUILD_EXAMPLES)
|
||||
$<$<BOOL:${LIBM_REQUIRED}>:m>
|
||||
)
|
||||
|
||||
# generate
|
||||
|
||||
add_executable (generate examples/generate.c)
|
||||
target_link_libraries (generate PRIVATE sndfile)
|
||||
|
||||
# sndfilehandle
|
||||
|
||||
add_executable (sndfilehandle examples/sndfilehandle.cc)
|
||||
@ -658,6 +663,7 @@ if (BUILD_EXAMPLES)
|
||||
make_sine
|
||||
sfprocess
|
||||
list_formats
|
||||
generate
|
||||
sndfilehandle
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user