summaryrefslogtreecommitdiff
path: root/src/logging
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging')
-rw-r--r--src/logging/CMakeLists.txt10
-rw-r--r--src/logging/logging.c1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/logging/CMakeLists.txt b/src/logging/CMakeLists.txt
new file mode 100644
index 0000000..4d07f5e
--- /dev/null
+++ b/src/logging/CMakeLists.txt
@@ -0,0 +1,10 @@
+project(honey_engine)
+
+target_sources(honey PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/logging.c
+)
+
+
+target_sources(test PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}/logging.test.c
+)
diff --git a/src/logging/logging.c b/src/logging/logging.c
index 371066e..0dcf47b 100644
--- a/src/logging/logging.c
+++ b/src/logging/logging.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdarg.h>
#include "logging/logging.h"
int _honey_log_level = HONEY_WARN;