summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-01-08 23:27:03 -0600
committersanine <sanine.not@pm.me>2023-01-08 23:27:03 -0600
commite7073c34d2ca92663d98bbb1912ad5f6e615e87f (patch)
tree9a4569ddf30041e35d15bf4b3d0592866e9b5d53 /example
parent38a71a0e8eb25418f6a0be23960a30de566dfb7c (diff)
add kai_allocmain
Diffstat (limited to 'example')
-rw-r--r--example/CMakeLists.txt4
-rw-r--r--example/example.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
new file mode 100644
index 0000000..7951b9f
--- /dev/null
+++ b/example/CMakeLists.txt
@@ -0,0 +1,4 @@
+project(kalmia)
+
+target_sources(kalmia-example PUBLIC example.c)
+file(COPY white-cube.dae DESTINATION ${CMAKE_BINARY_DIR})
diff --git a/example/example.c b/example/example.c
new file mode 100644
index 0000000..050afa3
--- /dev/null
+++ b/example/example.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include <kalmia.h>
+
+int main()
+{
+ return 0;
+}