summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
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;
+}