Add the generate example to the CMake build

This commit is contained in:
bobsayshilol 2021-01-31 21:19:59 +00:00 committed by evpobr
parent 9e0e55f8bf
commit ad2990ec02

View File

@ -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
)