From ad2990ec02d3cf9bcde62f88bf1bde67a9d6c6b6 Mon Sep 17 00:00:00 2001 From: bobsayshilol Date: Sun, 31 Jan 2021 21:19:59 +0000 Subject: [PATCH] Add the generate example to the CMake build --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index de98145f..f2d4223e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -647,6 +647,11 @@ if (BUILD_EXAMPLES) $<$: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 )