aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-22 17:08:56 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-22 17:08:56 +0200
commitb7df77d6cc26cb9ee46891d7108f01734b3104dd (patch)
tree903d1a0084f83d502d6ba98c5bdfb04e94876e9d /lib
parenta12702c912ae0ce96c754ffcb2ab5d901c504b65 (diff)
add miniaudio pocpoc/audio-miniaudio
Diffstat (limited to 'lib')
-rw-r--r--lib/miniaudio/CMakeLists.txt10
m---------lib/miniaudio/lib0
-rw-r--r--lib/miniaudio/main.c2
3 files changed, 12 insertions, 0 deletions
diff --git a/lib/miniaudio/CMakeLists.txt b/lib/miniaudio/CMakeLists.txt
new file mode 100644
index 0000000..65d416c
--- /dev/null
+++ b/lib/miniaudio/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 3.28)
+
+set(CMAKE_C_STANDARD 11)
+set(CMAKE_CXX_STANDARD 20)
+
+project(miniaudio C CXX)
+
+add_library(miniaudio STATIC main.c)
+target_include_directories(miniaudio SYSTEM INTERFACE lib)
+
diff --git a/lib/miniaudio/lib b/lib/miniaudio/lib
new file mode 160000
+Subproject 4a5b74bef029b3592c54b6048650ee5f972c1a4
diff --git a/lib/miniaudio/main.c b/lib/miniaudio/main.c
new file mode 100644
index 0000000..8d898f7
--- /dev/null
+++ b/lib/miniaudio/main.c
@@ -0,0 +1,2 @@
+#define MINIAUDIO_IMPLEMENTATION
+#include "lib/miniaudio.h"