summaryrefslogtreecommitdiff
path: root/src/logging
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-23 13:38:27 -0500
committersanine <sanine.not@pm.me>2022-08-23 13:38:27 -0500
commit3afbf2a13b2dada445fb667bf25600407fea480a (patch)
tree551329e6f74fc9f177616de0d6739e8b5331ae96 /src/logging
parent261e3f991221fbad6bbf262f5e65b773e4b6c73e (diff)
parent25ed7eb9f84e9a822f698ad803901fbb2a5354cf (diff)
:wMerge branch 'gl-window' into main
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;