aboutsummaryrefslogtreecommitdiff
path: root/lib/miniaudio
diff options
context:
space:
mode:
Diffstat (limited to 'lib/miniaudio')
-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"