summaryrefslogtreecommitdiff
path: root/examples/c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c')
-rw-r--r--examples/c/CMakeLists.txt2
-rw-r--r--examples/c/decode/file/CMakeLists.txt2
-rw-r--r--examples/c/encode/file/CMakeLists.txt2
3 files changed, 6 insertions, 0 deletions
diff --git a/examples/c/CMakeLists.txt b/examples/c/CMakeLists.txt
new file mode 100644
index 00000000..41153417
--- /dev/null
+++ b/examples/c/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory("decode/file")
+add_subdirectory("encode/file")
diff --git a/examples/c/decode/file/CMakeLists.txt b/examples/c/decode/file/CMakeLists.txt
new file mode 100644
index 00000000..60dc18e0
--- /dev/null
+++ b/examples/c/decode/file/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_executable(decode_file main.c)
+target_link_libraries(decode_file FLAC-static)
diff --git a/examples/c/encode/file/CMakeLists.txt b/examples/c/encode/file/CMakeLists.txt
new file mode 100644
index 00000000..c9c8e802
--- /dev/null
+++ b/examples/c/encode/file/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_executable(encode_file main.c)
+target_link_libraries(encode_file FLAC-static)